id
stringlengths
16
145
text
stringlengths
1
179k
title
stringclasses
1 value
github_using_workflows_jobs/manually-running-a-workflow7_97_0.txt
* Create a Docker container action * Create a JavaScript action
github_using_workflows_jobs/manually-running-a-workflow7_116_0.txt
gh workflow run greet.yml -f name=mona -f greeting=hello -F data=@myfile.txt You can also pass inputs as JSON by using standard input.
github_using_workflows_jobs/github_using_workflows_1_14.txt
env:GITHUB_OUTPUT -Append ### Example of setting an output parameter This example demonstrates how to set the ` SELECTED_COLOR ` output parameter and later retrieve it: YAML - name: Set color id: color-selector run: echo "SELECTED_COLOR=green" >> "$GITHUB_OUTPUT" ...
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_63_0.txt
Use ` $GITHUB_REF_NAME ` Documentation: https://docs.github.com/en/actions/learn-github- actions/variables
github_using_workflows_jobs/251790_42_0.txt
1) The workflow YAML file " mvndeploy.yml " is only located on the develop branch. 2) All the releases you have created are from the master branch.
github_using_workflows_jobs/manually-running-a-workflow7_91_0.txt
* Deploying runner scale sets * Using ARC in a workflow
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_94_0.txt
2 How to Extract Branch Name on Delete Event Github Actions
github_using_workflows_jobs/manually-running-a-workflow7_66_0.txt
* Travis CI migration * Manual migrations
github_using_workflows_jobs/251790_69_0.txt
All reactions Comment options
github_using_workflows_jobs/github_using_workflows_6_22.txt
word to limit your workflow to run when a specific ` event_type ` value is sent in the ` repository_dispatch ` webhook payload. on: repository_dispatch: types: [test_result] **Note:** The ` event_type ` value is limited to 100 characters. Any data that you send through the ` client_p...
github_using_workflows_jobs/github_using_workflows_5_19.txt
anceled, regardless of the workflow. To only cancel in-progress runs of the same workflow, you can use the ` github.workflow ` property to build the concurrency group: concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true ### Example: Only cancel in-pro...
github_using_workflows_jobs/github_using_jobs_0_0.txt
Skip to main content [ GitHub Docs ](/en) Version: Free, Pro, & Team Search GitHub Docs * [ GitHub Actions ](/en/actions "GitHub Actions") / * [ Using jobs ](/en/actions/using-jobs "Using jobs") / * [ Concurrency ](/en/actions/using-jobs/using-concurrency "Concurrency") [ Home ](/en) [ GitHub Actions ](...
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_54_0.txt
Add a comment | 0
github_using_workflows_jobs/github_using_workflows_1_6.txt
, {file: 'app.js', startLine: 1}) core.error('Missing semicolon', {file: 'app.js', startLine: 1}) ### Example: Creating an annotation for an error You can use the ` error ` command in your workflow to create the same error annotation: YAML - name: Create annotation for b...
github_using_workflows_jobs/manually-running-a-workflow7_89_0.txt
* Actions Runner Controller * Quickstart
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_111_0.txt
To subscribe to this RSS feed, copy and paste this URL into your RSS reader. lang-yaml
github_using_workflows_jobs/251790_80_0.txt
Hi @brightran , I tried a few of your suggestions, but still the Action did not trigger. I had previously merged the ` mavenpublish.yml ` file to /master when creating the 1.0.0 release. See this commit . After a lot of testing, triggering changes, etc. I discovered that the real issue may have been the release p...
github_using_workflows_jobs/manually-running-a-workflow7_112_0.txt
Note: To see the Run workflow button, your workflow file must use the ` workflow_dispatch ` event trigger. Only workflow files that use the ` workflow_dispatch ` event trigger will have the option to run the workflow manually using the Run workflow button. For more information about configuring the ` workflow_disp...
github_using_workflows_jobs/github_using_jobs_0_6.txt
r workflow will be ` pending ` . Any pending job or workflow in the concurrency group will be canceled. This means that there can be at most one running and one pending job in a concurrency group at any time. To also cancel any currently running job or workflow in the same concurrency group, specify ` cancel-in-progre...
github_using_workflows_jobs/github_using_jobs_3_5.txt
ures ](/en/actions/security-guides/using-githubs-security-features-to-secure-your-use-of-github-actions) * [ Automatic token authentication ](/en/actions/security-guides/automatic-token-authentication) * Creating actions * [ About custom actions ](/en/actions/creating-actions/about-custom-actions) *...
github_using_workflows_jobs/manually-running-a-workflow7_23_0.txt
* Manage workflow runs * Re-run workflows and jobs
github_using_workflows_jobs/manually-running-a-workflow7_39_0.txt
* Deploying Java to Azure App Service * Deploying .NET to Azure App Service
github_using_workflows_jobs/manually-running-a-workflow7_77_0.txt
* Customize runners * About larger runners
github_using_workflows_jobs/github_using_jobs_3_1.txt
prove private fork runs ](/en/actions/managing-workflow-runs/approving-workflow-runs-from-private-forks) * [ Review deployments ](/en/actions/managing-workflow-runs/reviewing-deployments) * [ Skip workflow runs ](/en/actions/managing-workflow-runs/skipping-workflow-runs) * [ Delete a workflow run ](/en/...
github_using_workflows_jobs/manually-running-a-workflow7_80_0.txt
* Private networking * About private networking
github_using_workflows_jobs/251790_72_0.txt
#### rdhmdhl Apr 25, 2024
github_using_workflows_jobs/251790_16_0.txt
* GitHub Sponsors Fund open source developers
github_using_workflows_jobs/github_using_workflows_5_26.txt
concurrency group named ` staging_environment ` . This means that if a new run of ` job-1 ` is triggered, any runs of the same job in the ` staging_environment ` concurrency group that are already in progress will be cancelled. jobs: job-1: runs-on: ubuntu-latest concurrency: ...
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_74_0.txt
> The short ref name of the branch or tag that triggered the workflow run. > This value matches the branch or tag name shown on GitHub. For example, > feature-branch-1. The one you are using is ` github.ref ` and the documentation says
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_65_0.txt
Follow answered Jun 6, 2023 at 15:43
github_using_workflows_jobs/github_using_workflows_5_9.txt
/ ` tags-ignore ` or ` branches ` / ` branches-ignore ` , the workflow will run for events affecting either branches or tags. If you define both ` branches ` / ` branches-ignore ` and [ ` paths ` / ` paths-ignore ` ](/en/actions/using-workflows/workflow-syntax-for-github- actions#onpushpull_requestpull_request_targetpa...
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_91_0.txt
45 How do I make a GitHub Action matrix element conditional?
github_using_workflows_jobs/251790_36_0.txt
Something went wrong. Quote reply
github_using_workflows_jobs/github_using_workflows_6_20.txt
REST API endpoints for commits ](/en/rest/commits#get-a-commit) ." **Note** : An event will not be created when you push more than three tags at once. Runs your workflow when you push a commit or tag, or when you create a repository from a template. For example, you can run a workflow when the ` push ` event occurs...
github_using_workflows_jobs/251790_14_0.txt
* CI/CD & Automation * DevOps * DevSecOps Resources
github_using_workflows_jobs/github_using_workflows_5_39.txt
ment variables in the container. ## ` jobs.<job_id>.container.ports ` Use ` jobs.<job_id>.container.ports ` to set an ` array ` of ports to expose on the container. ## ` jobs.<job_id>.container.volumes ` Use ` jobs.<job_id>.container.volumes ` to set an ` array ` of volumes for the container to use. You can use v...
github_using_workflows_jobs/github_using_workflows_8_5.txt
ithub-actions) * [ GitHub security features ](/en/actions/security-guides/using-githubs-security-features-to-secure-your-use-of-github-actions) * [ Automatic token authentication ](/en/actions/security-guides/automatic-token-authentication) * Creating actions * [ About custom actions ](/en/actions/c...
github_using_workflows_jobs/manually-running-a-workflow7_120_0.txt
When using the REST API, you configure the ` inputs ` and ` ref ` as request body parameters. If the inputs are omitted, the default values defined in the workflow file are used. Note: You can define up to 10 ` inputs ` for a ` workflow_dispatch ` event.
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_89_0.txt
112 Getting current branch and commit hash in GitHub action
github_using_workflows_jobs/manually-running-a-workflow7_16_0.txt
* Create starter workflows * Share workflows with your organization
github_using_workflows_jobs/github_using_workflows_3_2.txt
ct in AWS ](/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services) * [ OpenID Connect in Azure ](/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure) * [ OpenID Connect in Google Cloud Platform ](/en/actions...
github_using_workflows_jobs/manually-running-a-workflow7_3_0.txt
GitHub Actions * Quickstart
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_2_0.txt
Loading… 1. ### current community
github_using_workflows_jobs/github_using_workflows_5_10.txt
-alpha ` or ` releases/beta/3-alpha ` because the negative pattern ` !releases/**-alpha ` follows the positive pattern. on: push: branches: - 'releases/**' - '!releases/**-alpha' ## ` on.<push|pull_request|pull_request_target>.<paths|paths-ignore> ` When using th...
github_using_workflows_jobs/manually-running-a-workflow7_22_0.txt
* Assign permissions to jobs * Define outputs for jobs
github_using_workflows_jobs/github_using_jobs_9_6.txt
d ` matrix.os ` to access the current value of ` version ` and ` os ` that the job is using. For more information, see " [ Contexts ](/en/actions/learn-github-actions/contexts) ." ### Example: Using a single-dimension matrix You can specify a single variable to create a single-dimension matrix. For example, the fol...
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_67_0.txt
Add a comment | 0
github_using_workflows_jobs/github_using_jobs_0_7.txt
ress: true ### Example: Using concurrency to cancel any in-progress job or run To use concurrency to cancel any in-progress job or run in GitHub Actions, you can use the ` concurrency ` key with the ` cancel-in-progress ` option set to ` true ` : concurrency: group: ${{ github.ref }} ...
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_61_0.txt
tykom tykom 689 5 5 silver badges 10 10 bronze badges
github_using_workflows_jobs/manually-running-a-workflow7_126_0.txt
Ask the GitHub community Contact support
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_57_0.txt
The ` $ref ` variable will hold the branch name on push and pull_request events and will handle ` gitflow/style/branches ` . This works on the assumption that GH actions creates a (typically unexpected) ` {pr number}/merge ` branch for actions that run on PR sync, the ` grep ` call will only return ` 0 ` when the bran...
github_using_workflows_jobs/github_using_jobs_8_4.txt
ners ](/en/actions/using-github-hosted-runners/about-larger-runners/controlling-access-to-larger-runners) * [ Run jobs on larger runners ](/en/actions/using-github-hosted-runners/about-larger-runners/running-jobs-on-larger-runners) * Private networking * [ About private networking ](/en/actions/us...
github_using_workflows_jobs/github_using_jobs_6_2.txt
* [ OpenID Connect in AWS ](/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services) * [ OpenID Connect in Azure ](/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure) * [ OpenID Connect in Google Cloud Platfor...
github_using_workflows_jobs/github_using_jobs_7_3.txt
omated-migrations/extending-github-actions-importer-with-custom-transformers) * [ Supplemental arguments and settings ](/en/actions/migrating-to-github-actions/automated-migrations/supplemental-arguments-and-settings) * [ Azure DevOps migration ](/en/actions/migrating-to-github-actions/automated-migration...
github_using_workflows_jobs/github_using_workflows_12_13.txt
arn- github-actions/contexts) ." For more information about event payloads, see " [ Webhook events and payloads ](/en/webhooks-and-events/webhooks/webhook-events- and-payloads) ." ## Further controlling how your workflow will run If you want more granular control than events, event activity types, or event filters p...
github_using_workflows_jobs/251790_97_0.txt
* # {{title}}
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_105_0.txt
2 Get source branch in Github Actions
github_using_workflows_jobs/github-series-actions-workflow-dispatch0_1_0.txt
Follow # Nikhil Akki's blog
github_using_workflows_jobs/github_using_jobs_3_3.txt
tions/extending-github-actions-importer-with-custom-transformers) * [ Supplemental arguments and settings ](/en/actions/migrating-to-github-actions/automated-migrations/supplemental-arguments-and-settings) * [ Azure DevOps migration ](/en/actions/migrating-to-github-actions/automated-migrations/migrating-...
github_using_workflows_jobs/github_using_workflows_0_6.txt
access tokens or login credentials stored in a file in the cache path. Also, command line interface (CLI) programs like ` docker login ` can save access credentials in a configuration file. Anyone with read access can create a pull request on a repository and access the contents of a cache. Forks of a repository can al...
github_using_workflows_jobs/manually-running-a-workflow7_64_0.txt
* Bitbucket Pipelines migration * CircleCI migration
github_using_workflows_jobs/github_using_jobs_1_5.txt
es ](/en/actions/security-guides/using-githubs-security-features-to-secure-your-use-of-github-actions) * [ Automatic token authentication ](/en/actions/security-guides/automatic-token-authentication) * Creating actions * [ About custom actions ](/en/actions/creating-actions/about-custom-actions) * [...
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_42_0.txt
Below is an example of what I described above: name: Build pipeline on: push: branches: - feature/* - develop - release/* - main jobs: environments: name: Set environment runs-on: ubuntu-latest steps: ...
github_using_workflows_jobs/github_using_workflows_2_1.txt
private fork runs ](/en/actions/managing-workflow-runs/approving-workflow-runs-from-private-forks) * [ Review deployments ](/en/actions/managing-workflow-runs/reviewing-deployments) * [ Skip workflow runs ](/en/actions/managing-workflow-runs/skipping-workflow-runs) * [ Delete a workflow run ](/en/action...
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_106_0.txt
1 Get github action version inside the action
github_using_workflows_jobs/251790_104_0.txt
Category 🚢
github_using_workflows_jobs/github_using_jobs_7_4.txt
unners ](/en/actions/using-github-hosted-runners/about-larger-runners/controlling-access-to-larger-runners) * [ Run jobs on larger runners ](/en/actions/using-github-hosted-runners/about-larger-runners/running-jobs-on-larger-runners) * Private networking * [ About private networking ](/en/actions/...
github_using_workflows_jobs/github_using_workflows_12_12.txt
them to strings. The ` choice ` type resolves to a string and is a single selectable option. * The maximum number of top-level properties for ` inputs ` is 10. * The maximum payload for ` inputs ` is 65,535 characters. on: workflow_dispatch: inputs: logLevel: de...
github_using_workflows_jobs/github-series-actions-workflow-dispatch0_8_0.txt
name: Deploy to production on: workflow_dispatch: inputs: environment: description: 'The environment to deploy to (e.g. production, staging)' required: true In this example, the workflow will only be triggered when a ` workflow_dispatch ` event is ...
github_using_workflows_jobs/github_using_workflows_2_0.txt
Skip to main content [ GitHub Docs ](/en) Version: Free, Pro, & Team Search GitHub Docs * [ GitHub Actions ](/en/actions "GitHub Actions") / * [ Using workflows ](/en/actions/using-workflows "Using workflows") / * [ Reuse workflows ](/en/actions/using-workflows/reusing-workflows "Reuse workflows") [ Home...
github_using_workflows_jobs/github-series-actions-workflow-dispatch0_5_0.txt
In our previous post, we looked at GitHub Actions please give that article a read before you go ahead with this one. Workflow dispatch is a feature of GitHub Actions that allows you to trigger a specific workflow run on-demand, without the need for a code push or pull request. With workflow dispatch, you can create a ...
github_using_workflows_jobs/github_using_jobs_2_3.txt
ns/migrating-to-github-actions/automated-migrations/extending-github-actions-importer-with-custom-transformers) * [ Supplemental arguments and settings ](/en/actions/migrating-to-github-actions/automated-migrations/supplemental-arguments-and-settings) * [ Azure DevOps migration ](/en/actions/migrating-to-...
github_using_workflows_jobs/github_using_jobs_2_4.txt
* [ Control access to larger runners ](/en/actions/using-github-hosted-runners/about-larger-runners/controlling-access-to-larger-runners) * [ Run jobs on larger runners ](/en/actions/using-github-hosted-runners/about-larger-runners/running-jobs-on-larger-runners) * Private networking * [ About ...
github_using_workflows_jobs/251790_60_0.txt
* 👍 2 Comment options
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_115_0.txt
##### Stack Exchange Network * Technology * Culture & recreation * Life & arts * Science * Professional * Business * API * Data
github_using_workflows_jobs/github_using_workflows_5_7.txt
not when a label is edited or deleted. on: label: types: - created If you specify multiple activity types, only one of those event activity types needs to occur to trigger your workflow. If multiple triggering event activity types for your workflow occur at the same time, mu...
github_using_workflows_jobs/github_using_workflows_5_17.txt
Windows | ` cmd ` | GitHub appends the extension ` .cmd ` to your script name and substitutes for ` {0} ` . | ` %ComSpec% /D /E:ON /V:OFF /S /C "CALL "{0}"" ` . Windows | ` pwsh ` | This is the default shell used on Windows. The PowerShell Core. GitHub appends the extension ` .ps1 ` to your script name. I...
github_using_workflows_jobs/github_using_jobs_2_6.txt
eploy: if: github.repository == 'octo-org/octo-repo-prod' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: '14' - run: npm install -g bats On a skipped job, you should see "Th...
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_72_0.txt
Add a comment | 0
github_using_workflows_jobs/github_using_workflows_9_5.txt
GitHub security features ](/en/actions/security-guides/using-githubs-security-features-to-secure-your-use-of-github-actions) * [ Automatic token authentication ](/en/actions/security-guides/automatic-token-authentication) * Creating actions * [ About custom actions ](/en/actions/creating-actions/about-c...
github_using_workflows_jobs/manually-running-a-workflow7_78_0.txt
* About larger runners * Manage larger runners
github_using_workflows_jobs/manually-running-a-workflow7_74_0.txt
* GitHub Actions usage metrics * Working with GitHub Support
github_using_workflows_jobs/manually-running-a-workflow7_109_0.txt
Write access to the repository is required to perform these steps. ## Running a workflow
github_using_workflows_jobs/251790_78_0.txt
GuillaumeCleme Mar 26, 2020
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_31_0.txt
– michielbdejong Aug 17, 2021 at 10:01
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_79_0.txt
Add a comment | Prev 1
github_using_workflows_jobs/github_using_workflows_5_15.txt
ermissions-for-github-packages#about-scopes-and-permissions-for-package-registries) ." ` pages ` | Work with GitHub Pages. For example, ` pages: write ` permits an action to request a GitHub Pages build. For more information, see " [ Permissions required for GitHub Apps ](/en/rest/overview/permissions-required-for-...
github_using_workflows_jobs/github_using_workflows_9_2.txt
nect) * [ OpenID Connect in AWS ](/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services) * [ OpenID Connect in Azure ](/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure) * [ OpenID Connect in Google C...
github_using_workflows_jobs/251790_82_0.txt
All reactions 0 replies
github_using_workflows_jobs/github_using_workflows_8_7.txt
* General category names from the [ starter-workflows ](https://github.com/actions/starter-workflows/blob/main/README.md#categories) repository. * Linguist languages from the list in the [ linguist ](https://github.com/github-linguist/linguist/blob/master/lib/linguist/languages.yml) repository. * Suppor...
github_using_workflows_jobs/github_using_workflows_2_8.txt
o the ` production ` environment. This environment is therefore referenced within the job. **Note** : Environment secrets are encrypted strings that are stored in an environment that you've defined for a repository. Environment secrets are only available to workflow jobs that reference the appropriate environment. For...
github_using_workflows_jobs/github_using_jobs_1_0.txt
Skip to main content [ GitHub Docs ](/en) Version: Free, Pro, & Team Search GitHub Docs * [ GitHub Actions ](/en/actions "GitHub Actions") / * [ Using jobs ](/en/actions/using-jobs "Using jobs") / * [ Define outputs for jobs ](/en/actions/using-jobs/defining-outputs-for-jobs "Define outputs for jobs") [ ...
github_using_workflows_jobs/github-series-actions-workflow-dispatch0_9_0.txt
* Define the steps to be performed in your deployment workflow: jobs: deploy: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v2 - name: Deploy to environment run: | # Perform deployment ste...
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_39_0.txt
Highest score (default) Trending (recent votes count more) Date modified (newest first) Date created (oldest first) Prev 1
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_44_0.txt
If you don't mind using other people's github actions, you could use one of the many actions from the marketplace that do a find a replace. An example can be found here , that looks like: on: [push] jobs: replace-job: runs-on: ubuntu-latest name: 'Find and replace' ...
github_using_workflows_jobs/github_using_jobs_7_0.txt
Skip to main content [ GitHub Docs ](/en) Version: Free, Pro, & Team Search GitHub Docs * [ GitHub Actions ](/en/actions "GitHub Actions") / * [ Using jobs ](/en/actions/using-jobs "Using jobs") / * [ Set default values for jobs ](/en/actions/using-jobs/setting-default-values-for-jobs "Set default values ...
github_using_workflows_jobs/251790_8_0.txt
* Code review Manage code changes
github_using_workflows_jobs/251790_107_0.txt
Heading Bold
github_using_workflows_jobs/github_using_jobs_0_1.txt
ions/managing-workflow-runs/approving-workflow-runs-from-private-forks) * [ Review deployments ](/en/actions/managing-workflow-runs/reviewing-deployments) * [ Skip workflow runs ](/en/actions/managing-workflow-runs/skipping-workflow-runs) * [ Delete a workflow run ](/en/actions/managing-workflow-runs/del...
github_using_workflows_jobs/251790_55_0.txt
* # {{title}}