id
stringlengths
16
145
text
stringlengths
1
179k
title
stringclasses
1 value
github_using_workflows_jobs/github_using_workflows_10_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") / * [ Share workflows with your organization ](/en/actions/using-workflows/sharing-workflows-sec...
github_using_workflows_jobs/manually-running-a-workflow7_52_0.txt
* About service containers * Create PostgreSQL service containers
github_using_workflows_jobs/manually-running-a-workflow7_121_0.txt
For more information about using the REST API, see " REST API endpoints for workflows ." ## Help and support
github_using_workflows_jobs/github_using_workflows_3_1.txt
ivate 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/actions/...
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_104_0.txt
1 How to get branch name in a Github Action Shell script
github_using_workflows_jobs/251790_40_0.txt
All reactions Answered by BrightRan Mar 24, 2020
github_using_workflows_jobs/251790_20_0.txt
# Search code, repositories, users, issues, pull requests... Search
github_using_workflows_jobs/251790_81_0.txt
As for your comment regarding the Action not showing up until it was triggered for the first time, I was able to confirm this by creating a release manually through the GitHub user interface. Thank you for the link on workflow events. I will look at refining the event trigger to hopefully run when a tag is pushed. -...
github_using_workflows_jobs/github-series-actions-workflow-dispatch0_10_0.txt
In this example, the workflow consists of a single job called ` deploy ` , which runs on the ` ubuntu-latest ` operating system. The first step checks out the code, and the second step performs the actual deployment based on the specified ` environment ` input. * Trigger the workflow run through the GitHub UI or API...
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_48_0.txt
13.3k 4 4 gold badges 49 49 silver badges 77 77 bronze badges Add a comment |
github_using_workflows_jobs/github_using_workflows_0_7.txt
cally creates a new cache if the job completes successfully. The new cache will use the ` key ` you provided and contains the files you specify in ` path ` . For more information about how this is handled, see " Cache hits and misses ." You cannot change the contents of an existing cache. Instead, you can create a n...
github_using_workflows_jobs/github_using_jobs_2_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") / * [ Use conditions to control job execution ](/en/actions/using-jobs/using-conditions-to-control-job-executio...
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_83_0.txt
CI/CD Collective Join the discussion This question is in a collective: a subcommunity defined by tags with relevant content and experts.
github_using_workflows_jobs/251790_96_0.txt
0 replies Comment options
github_using_workflows_jobs/github_using_workflows_2_6.txt
ferenced in a single line. The result is that the caller workflow file may contain just a few lines of YAML, but may perform a large number of tasks when it's run. When you reuse a workflow, the entire called workflow is used, just as if it was part of the caller workflow. If you reuse a workflow from a different repo...
github_using_workflows_jobs/github_using_workflows_0_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/ab...
github_using_workflows_jobs/github_using_workflows_6_10.txt
---|---|---|--- [ ` issues ` ](/en/webhooks-and-events/webhooks/webhook-events-and-payloads#issues) | \- ` opened ` \- ` edited ` \- ` deleted ` \- ` transferred ` \- ` pinned ` \- ` unpinned ` \- ` closed ` \- ` reopened ` \- ` assigned ` \- ` unassigned ` \- ` labeled ` \- ` unlabeled ` ...
github_using_workflows_jobs/github_using_jobs_3_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") / * [ Run jobs in a container ](/en/actions/using-jobs/running-jobs-in-a-container "Run jobs in a container") ...
github_using_workflows_jobs/github_using_workflows_11_4.txt
o 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 private networking ](/e...
github_using_workflows_jobs/github_using_workflows_6_12.txt
thub-pages/configuring-a-publishing-source-for-your-github-pages-site) ." For information about the REST API, see " [ REST API endpoints for repositories ](/en/rest/repos#pages) ." For example, you can run a workflow when the ` page_build ` event occurs. on: page_build ## ` project ` Webho...
github_using_workflows_jobs/github_using_workflows_5_18.txt
level: on: push: branches: - main jobs: job-1: runs-on: ubuntu-latest concurrency: group: example-group cancel-in-progress: true ### Example: Concurrency groups Concurrency groups provide a way to manage and limit the exe...
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_30_0.txt
* 4 IMHO stackoverflow.com/a/64210623/680454 should be the accepted answer; it deals with @ambientlight's objection to the currently accepted answer, it avoids use of now-deprecated ` setenv ` , and it doesn't use any external includes.
github_using_workflows_jobs/manually-running-a-workflow7_79_0.txt
* Control access to larger runners * Run jobs on larger runners
github_using_workflows_jobs/github_using_workflows_3_3.txt
tending-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-from-azu...
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_11_0.txt
10. Communities for your favorite technologies. Explore all Collectives 2. Teams
github_using_workflows_jobs/github_using_jobs_2_2.txt
-hardening-with-openid-connect) * [ 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) * [ ...
github_using_workflows_jobs/251790_15_0.txt
* Learning Pathways * White papers, Ebooks, Webinars * Customer Stories * Partners * Open Source
github_using_workflows_jobs/251790_115_0.txt
# Select a reply Create a new saved reply
github_using_workflows_jobs/251790_10_0.txt
* Discussions Collaborate outside of code
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_35_0.txt
Nov 15, 2022 at 21:19 * 1
github_using_workflows_jobs/github_using_workflows_5_38.txt
xample: Preventing a specific failing matrix job from failing a workflow run You can allow specific jobs in a job matrix to fail without failing the workflow run. For example, if you wanted to only allow an experimental job with ` node ` set to ` 15 ` to fail without failing the workflow run. runs-on: $...
github_using_workflows_jobs/github_using_workflows_9_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") / * [ Manually run a workflow ](/en/actions/using-workflows/manually-running-a-workflow "Manuall...
github_using_workflows_jobs/251790_87_0.txt
Author \-
github_using_workflows_jobs/github_using_workflows_6_27.txt
await github.rest.issues.createComment({ owner: context.repo.owner, repo: context.repo.repo, issue_number: issue_number, body: 'Thank you for the PR!' }); ## Help and support ### Did this doc help you? Yes N...
github_using_workflows_jobs/251790_53_0.txt
All reactions * 👎 1
github_using_workflows_jobs/manually-running-a-workflow7_54_0.txt
* Packaging with GitHub Actions * Publish Docker images
github_using_workflows_jobs/251790_116_0.txt
👍 1 reacted with thumbs up emoji 👎 1 reacted with thumbs down emoji 😄 1 reacted with laugh emoji 🎉 1 reacted with hooray emoji 😕 1 reacted with confused emoji ❤️ 1 reacted with heart emoji 🚀 1 reacted with rocket emoji 👀 1 reacted with eyes emoji ## Footer
github_using_workflows_jobs/github_using_jobs_2_1.txt
ng-workflow-runs-from-public-forks) * [ Approve 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-workfl...
github_using_workflows_jobs/github_using_workflows_4_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") / * [ Disable & enable a workflow ](/en/actions/using-workflows/disabling-and-enabling-a-workflo...
github_using_workflows_jobs/manually-running-a-workflow7_102_0.txt
* CLI setup action * Guides for GitHub Actions
github_using_workflows_jobs/github-series-actions-workflow-dispatch0_6_0.txt
To use workflow dispatch, you must define a ` workflow_dispatch ` event in your workflow file, along with any required inputs or parameters. You can then trigger the workflow run from the Actions tab in your GitHub repository, or by sending a POST request to the GitHub API with the appropriate parameters. Workflow dis...
github_using_workflows_jobs/251790_54_0.txt
3 replies Comment options
github_using_workflows_jobs/251790_26_0.txt
To see all available qualifiers, see our documentation . Cancel Create saved search
github_using_workflows_jobs/github_using_jobs_5_6.txt
(/en/actions/learn-github-actions/contexts#needs-context) , [ ` strategy ` ](/en/actions/learn-github-actions/contexts#strategy-context) , and [ ` matrix ` ](/en/actions/learn-github-actions/contexts#matrix-context) . For more information about expressions, see " [ Expressions ](/en/actions/learn-github- actions/expres...
github_using_workflows_jobs/github_using_workflows_11_1.txt
blic-forks) * [ Approve 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 ...
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_76_0.txt
Share Improve this answer
github_using_workflows_jobs/251790_98_0.txt
Something went wrong. Quote reply
github_using_workflows_jobs/manually-running-a-workflow7_7_0.txt
* Variables * Use starter workflows
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_49_0.txt
0 To get the ref name on a delete event I ended up using ` sed ` .
github_using_workflows_jobs/manually-running-a-workflow7_47_0.txt
* Target different environments * Use environments for deployment
github_using_workflows_jobs/manually-running-a-workflow7_99_0.txt
* Dockerfile support * Set exit codes
github_using_workflows_jobs/251790_83_0.txt
Comment options *
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_40_0.txt
2 0
github_using_workflows_jobs/github_using_workflows_0_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") / * [ Cache dependencies ](/en/actions/using-workflows/caching-dependencies-to-speed-up-workflow...
github_using_workflows_jobs/manually-running-a-workflow7_125_0.txt
Learn how to contribute ### Still need help?
github_using_workflows_jobs/github-series-actions-workflow-dispatch0_14_0.txt
https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a- workflow ### Did you find this article valuable?
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_41_0.txt
We currently have a separate job, that runs before all other jobs. That step determines in what environment it runs, based on the branch name. Our branches are associated with specific environments to deploy infrastructure and code bases. Each environment also has its own secrets (github enterprise feature). The out...
github_using_workflows_jobs/manually-running-a-workflow7_65_0.txt
* GitLab migration * Jenkins migration
github_using_workflows_jobs/manually-running-a-workflow7_30_0.txt
* Build & test Java & Gradle * Build & test Java with Maven
github_using_workflows_jobs/github_using_jobs_4_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") / * [ Use jobs in a workflow ](/en/actions/using-jobs/using-jobs-in-a-workflow "Use jobs in a workflow") [ Hom...
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_15_0.txt
Learn more about Collectives Teams
github_using_workflows_jobs/251790_21_0.txt
Clear Search syntax tips
github_using_workflows_jobs/github_using_workflows_0_11.txt
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} REPO: ${{ github.repository }} BRANCH: refs/pull/${{ github.event.pull_request.number }}/merge Alternatively, you can use the API to automatically list or delete all caches on your own cadence. For more information, see " [ REST API endpoint...
github_using_workflows_jobs/251790_73_0.txt
\- same problem here. tried creating a test branch and updating the yml file for that test branch. no luck. --- Beta Was this translation helpful? Give feedback.
github_using_workflows_jobs/manually-running-a-workflow7_124_0.txt
All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request. Make a contribution
github_using_workflows_jobs/manually-running-a-workflow7_63_0.txt
* Azure DevOps migration * Bamboo migration
github_using_workflows_jobs/manually-running-a-workflow7_119_0.txt
gh run watch ## Running a workflow using the REST API
github_using_workflows_jobs/251790_100_0.txt
Mar 26, 2020 Author
github_using_workflows_jobs/manually-running-a-workflow7_57_0.txt
* Actions for project management * Add labels to issues
github_using_workflows_jobs/github_using_workflows_11_6.txt
} } } ' --jq '.data.repository.issues.totalCount')" echo 'NUM_OPEN_ISSUES='$numOpenIssues >> $GITHUB_ENV env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} OWNER: ${{ github.repository_owner }} REPO: ...
github_using_workflows_jobs/manually-running-a-workflow7_111_0.txt
3. In the left sidebar, click the name of the workflow you want to run. 4. Above the list of workflow runs, click the Run workflow button.
github_using_workflows_jobs/github_using_workflows_5_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") / * [ Workflow syntax ](/en/actions/using-workflows/workflow-syntax-for-github-actions "Workflow...
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_73_0.txt
I always see the documentation for the variables provided by GitHub https://docs.github.com/en/actions/learn-github-actions/contexts `github.ref_name` and see the document
github_using_workflows_jobs/github_using_workflows_6_4.txt
rol 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 private netw...
github_using_workflows_jobs/github_using_jobs_6_5.txt
ity 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-custom-action...
github_using_workflows_jobs/251790_70_0.txt
* # {{title}}
github_using_workflows_jobs/manually-running-a-workflow7_4_0.txt
* Learn GitHub Actions * Understand GitHub Actions
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_66_0.txt
Rochadsouza Rochadsouza 918 10 10 silver badges 10 10 bronze badges
github_using_workflows_jobs/manually-running-a-workflow7_73_0.txt
* Enable debug logging * Notifications for workflow runs
github_using_workflows_jobs/github_using_workflows_4_3.txt
-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-actio...
github_using_workflows_jobs/github_using_workflows_5_16.txt
orkflow You can specify ` permissions ` at the top level of a workflow, so that the setting applies to all jobs in the workflow. #### Example: Setting the ` GITHUB_TOKEN ` permissions for an entire workflow This example shows permissions being set for the ` GITHUB_TOKEN ` that will apply to all jobs in the workflow...
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_17_0.txt
Learn more about Teams Get early access and see previews of new features.
github_using_workflows_jobs/github_using_jobs_5_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") / * [ Environments ](/en/actions/using-jobs/using-environments-for-jobs "Environments") [ Home ](/en) [ GitHu...
github_using_workflows_jobs/manually-running-a-workflow7_17_0.txt
* GitHub CLI in workflows * Using jobs
github_using_workflows_jobs/251790_43_0.txt
Here are few points need you pay attention to: 1) After you have created a new workflow, this workflow will not be listed on " Actions " tab until it is triggered for the first time.
github_using_workflows_jobs/manually-running-a-workflow7_96_0.txt
* Creating actions * About custom actions
github_using_workflows_jobs/github_using_workflows_6_2.txt
ith-openid-connect) * [ 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 Conne...
github_using_workflows_jobs/manually-running-a-workflow7_72_0.txt
* View job execution time * Workflow run logs
github_using_workflows_jobs/github_using_workflows_5_3.txt
mated-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-migrations...
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_116_0.txt
* Blog * Facebook * Twitter * LinkedIn * Instagram Site design / logo © 2024 Stack Exchange Inc; user contributions licensed under CC BY-SA . rev 2024.5.3.8609
github_using_workflows_jobs/github_using_workflows_2_5.txt
](/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) * [ Cre...
github_using_workflows_jobs/251790_117_0.txt
© 2024 GitHub, Inc. ### Footer navigation
github_using_workflows_jobs/github_using_workflows_12_5.txt
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-custom-actions) ...
github_using_workflows_jobs/251790_110_0.txt
* * * Numbered list
github_using_workflows_jobs/manually-running-a-workflow7_1_0.txt
Version: Free, Pro, & Team Search GitHub Docs
github_using_workflows_jobs/github_using_jobs_9_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") / * [ Matrices ](/en/actions/using-jobs/using-a-matrix-for-your-jobs "Matrices") [ Home ](/en) [ GitHub Actio...
github_using_workflows_jobs/251790_37_0.txt
## GuillaumeCleme
github_using_workflows_jobs/github_using_workflows_1_5.txt
Hub 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-cust...
github_using_workflows_jobs/github_using_workflows_7_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") / * [ Store artifacts ](/en/actions/using-workflows/storing-workflow-data-as-artifacts "Store ar...
github_using_workflows_jobs/github_using_jobs_0_2.txt
eployment/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/deployment/security-harde...