id
stringlengths
16
145
text
stringlengths
1
179k
title
stringclasses
1 value
github_using_workflows_jobs/github_using_workflows_5_20.txt
TOKEN ` to ---|--- ` actions ` | Work with GitHub Actions. For example, ` actions: write ` permits an action to cancel a workflow run. For more information, see " [ Permissions required for GitHub Apps ](/en/rest/overview/permissions-required-for-github-apps?apiVersion=2022-11-28#repository-permissions-for-action...
github_using_workflows_jobs/github_using_jobs_4_4.txt
ions/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/using-github-host...
github_using_workflows_jobs/manually-running-a-workflow7_60_0.txt
* Schedule issue creation * Migrate to GitHub Actions
github_using_workflows_jobs/github_using_workflows_10_3.txt
GitHub Actions Importer ](/en/actions/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 m...
github_using_workflows_jobs/github_using_workflows_1_16.txt
rectory to ` PATH ` : Bash echo "$HOME/.local/bin" >> $GITHUB_PATH echo "$HOME/.local/bin" >> $GITHUB_PATH This example demonstrates how to add the user ` $env:HOMEPATH/.local/bin ` directory to ` PATH ` : PowerShell "$env:HOMEPATH/.local/bin" | Out-File -FilePat...
github_using_workflows_jobs/github_using_jobs_4_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) * [ Cr...
github_using_workflows_jobs/251790_92_0.txt
Quote reply ###
github_using_workflows_jobs/manually-running-a-workflow7_94_0.txt
* Using secrets * GitHub security features
github_using_workflows_jobs/github_using_workflows_10_1.txt
ctions/managing-workflow-runs/approving-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/m...
github_using_workflows_jobs/github_using_workflows_5_5.txt
curity 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-act...
github_using_workflows_jobs/manually-running-a-workflow7_115_0.txt
gh workflow run WORKFLOW If your workflow accepts inputs, GitHub CLI will prompt you to enter them. Alternatively, you can use ` -f ` or ` -F ` to add an input in ` key=value ` format. Use ` -F ` to read from a file.
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_36_0.txt
If I need to know the source branch name in case of push (from feature to master branch), which context can be used ? Because github.ref_name & github.head_ref are giving master as branch name . – DollyShukla
github_using_workflows_jobs/manually-running-a-workflow7_33_0.txt
* Build & test Ruby * Build & test Swift
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_59_0.txt
Share Improve this answer
github_using_workflows_jobs/manually-running-a-workflow7_114_0.txt
To learn more about GitHub CLI, see " About GitHub CLI ." To run a workflow, use the ` workflow run ` subcommand. Replace the ` workflow ` parameter with either the name, ID, or file name of the workflow you want to run. For example, ` "Link Checker" ` , ` 1234567 ` , or ` "link-check- test.yml" ` . If you don't spe...
github_using_workflows_jobs/manually-running-a-workflow7_8_0.txt
* Workflow billing & limits * Examples
github_using_workflows_jobs/github_using_jobs_8_3.txt
ated-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/manually-running-a-workflow7_5_0.txt
* Find and customize actions * Essential features
github_using_workflows_jobs/251790_113_0.txt
Mention Reference
github_using_workflows_jobs/github_using_workflows_6_8.txt
ments#create-a-deployment-status) ." For example, you can run a workflow when the ` deployment_status ` event occurs. on: deployment_status ## ` discussion ` Webhook event payload | Activity types | ` GITHUB_SHA ` | ` GITHUB_REF ` ---|---|---|--- [ ` discussion ` ](/en/webhooks-an...
github_using_workflows_jobs/251790_34_0.txt
Answered by BrightRan Return to top Discussion options
github_using_workflows_jobs/github_using_jobs_3_6.txt
env) When you only specify a container image, you can omit the ` image ` keyword. jobs: container-test-job: runs-on: ubuntu-latest container: node:18 ## Defining the container image Use ` jobs.<job_id>.container.image ` to define the Docker image to use as the containe...
github_using_workflows_jobs/manually-running-a-workflow7_34_0.txt
* Build & test Xamarin apps * Deployment
github_using_workflows_jobs/github_using_workflows_7_4.txt
nners ](/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/u...
github_using_workflows_jobs/github_using_workflows_10_2.txt
ening-your-deployments/about-security-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/configurin...
github_using_workflows_jobs/manually-running-a-workflow7_85_0.txt
* Customize containers used by jobs * Run the runner app as a service
github_using_workflows_jobs/github_using_workflows_5_28.txt
ts. For more information, see " [ Contexts ](/en/actions/learn- github-actions/contexts#context-availability) ." Supported platform | ` shell ` parameter | Description | Command run internally ---|---|---|--- Linux / macOS | unspecified | The default shell on non-Windows platforms. Note that this runs a...
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_8_0.txt
3. Tags 4. 5. Users
github_using_workflows_jobs/251790_65_0.txt
# {{editor}}'s edit Something went wrong.
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_107_0.txt
0 Get the source branch of a tag on GitHub Actions
github_using_workflows_jobs/github_using_workflows_5_4.txt
nners ](/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/u...
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_84_0.txt
* The Overflow Blog * Upcoming research at Stack Overflow * The reverse mullett model of software engineering
github_using_workflows_jobs/manually-running-a-workflow7_50_0.txt
* Deployment history * Deploy Xcode applications
github_using_workflows_jobs/github_using_workflows_2_3.txt
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-from-a...
github_using_workflows_jobs/github_using_workflows_7_7.txt
ds the ` code-coverage.html ` report as another artifact. YAML name: Node CI on: [push] jobs: build_and_test: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 - name: npm install, build, and test ...
github_using_workflows_jobs/manually-running-a-workflow7_118_0.txt
gh workflow run WORKFLOW --ref BRANCH To view the progress of the workflow run, use the ` run watch ` subcommand and select the run from the interactive list.
github_using_workflows_jobs/manually-running-a-workflow7_110_0.txt
1. On GitHub.com, navigate to the main page of the repository. 2. Under your repository name, click Actions .
github_using_workflows_jobs/github_using_workflows_5_23.txt
- run: echo Hello world! * If you would like to run your workflow on multiple machines, use [ ` jobs.<job_id>.strategy ` ](/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstrategy) . **Note:** Quotation marks are not required around simple strings like ` self- hosted ` , but they are...
github_using_workflows_jobs/github_using_workflows_5_40.txt
.nginx == true && 'nginx' || '' }} ## ` jobs.<job_id>.services.<service_id>.credentials ` If the image's container registry requires authentication to pull the image, you can use ` jobs.<job_id>.container.credentials ` to set a ` map ` of the ` username ` and ` password ` . The credentials are the same values t...
github_using_workflows_jobs/manually-running-a-workflow7_13_0.txt
* Events that trigger workflows * Workflow syntax
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_82_0.txt
* github * github-actions or ask your own question .
github_using_workflows_jobs/manually-running-a-workflow7_76_0.txt
* About GitHub-hosted runners * Monitor current jobs
github_using_workflows_jobs/manually-running-a-workflow7_0_0.txt
Skip to main content GitHub Docs
github_using_workflows_jobs/manually-running-a-workflow7_20_0.txt
* Concurrency * Environments
github_using_workflows_jobs/manually-running-a-workflow7_107_0.txt
* Running a workflow using the REST API ## Configuring a workflow to run manually
github_using_workflows_jobs/manually-running-a-workflow7_61_0.txt
* Automated migrations * Automate migration with GitHub Actions Importer
github_using_workflows_jobs/manually-running-a-workflow7_44_0.txt
* OpenID Connect in Azure * OpenID Connect in Google Cloud Platform
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_28_0.txt
6 * Use this action: github.com/EthanSK/git-branch-name-action it works for both pull_request and push trigger
github_using_workflows_jobs/251790_25_0.txt
Name Query
github_using_workflows_jobs/manually-running-a-workflow7_87_0.txt
* Use runners in a workflow * Manage access with runner groups
github_using_workflows_jobs/github_using_workflows_5_37.txt
version: [12, 14, 16] include: - os: windows-latest version: 17 If you don't specify any matrix variables, all configurations under ` include ` will run. For example, the following workflow would run two jobs, one for each ` include ` entry. This lets you tak...
github_using_workflows_jobs/251790_59_0.txt
👍 2 All reactions
github_using_workflows_jobs/manually-running-a-workflow7_31_0.txt
* Build & test .NET * Build & test Node.js
github_using_workflows_jobs/251790_35_0.txt
* # {{title}}
github_using_workflows_jobs/github_using_jobs_5_3.txt
-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-azure-devops-with...
github_using_workflows_jobs/251790_85_0.txt
Quote reply ###
github_using_workflows_jobs/manually-running-a-workflow7_68_0.txt
* Migrate from GitLab CI/CD * Migrate from Jenkins
github_using_workflows_jobs/github_using_workflows_1_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 commands ](/en/actions/using-workflows/workflow-commands-for-github-actions "Work...
github_using_workflows_jobs/github_using_workflows_12_4.txt
](/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/using-gi...
github_using_workflows_jobs/251790_93_0.txt
BrightRan Mar 26, 2020
github_using_workflows_jobs/github-series-actions-workflow-dispatch0_16_0.txt
Learn more about Hashnode Sponsors GitHub Actions GitHub ci-cd Devops workflow-dispatch
github_using_workflows_jobs/github_using_workflows_0_9.txt
decompress and use. For more information, see [ Cache Version ](https://github.com/actions/cache#cache-version) in the Actions Cache documentation. ` restore-keys ` allows you to specify a list of alternate restore keys to use when there is a cache miss on ` key ` . You can create multiple restore keys ordered from th...
github_using_workflows_jobs/github_using_workflows_6_26.txt
workflow_run: workflows: [Build] types: [completed] jobs: on-success: runs-on: ubuntu-latest if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - run: echo 'The triggering workflow passed' on-failure: runs-on: ubuntu-...
github_using_workflows_jobs/github_using_workflows_8_6.txt
nterprise Cloud documentation ](/en/enterprise- cloud@latest/actions/using-workflows/creating-starter-workflows-for-your- organization) . **Note:** To avoid duplication among starter workflows you can call reusable workflows from within a workflow. This can help make your workflows easier to maintain. For more informa...
github_using_workflows_jobs/github_using_jobs_5_2.txt
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/deployment/se...
github_using_workflows_jobs/github_using_workflows_6_5.txt
ions) * [ 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-a...
github_using_workflows_jobs/github_using_jobs_9_3.txt
s-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-azure-devops-with-github...
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_58_0.txt
The output redirect on ` grep ` just prevents the case of a regex match printing to stdout. Naturally, this won't work if you need the push event on a branch that matches the regex.
github_using_workflows_jobs/manually-running-a-workflow7_18_0.txt
* Use jobs in a workflow * Choose the runner for a job
github_using_workflows_jobs/251790_111_0.txt
Unordered list Task list
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_29_0.txt
– Ethan SK Apr 18, 2021 at 15:36
github_using_workflows_jobs/251790_74_0.txt
All reactions Answer selected
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_34_0.txt
` ${{ github.ref_name }} ` works for me – Neil McGuigan
github_using_workflows_jobs/github_using_workflows_1_4.txt
ger 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 ](/en/act...
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_6_0.txt
company blog 2. 3. Log in 4. Sign up
github_using_workflows_jobs/251790_32_0.txt
GuillaumeCleme asked this question in Actions New GitHub Action not displayed on the Actions tab #25179
github_using_workflows_jobs/github_using_workflows_5_43.txt
1.sql ` ` '*.md' ` ` '!README.md' ` | Using an exclamation mark ( ` ! ` ) in front of a pattern negates it. When a file matches a pattern and also matches a negative pattern defined later in the file, the file will not be included. | ` hello.md ` _Does not match_ ` README.md ` ` docs/hello.md ...
github_using_workflows_jobs/github_using_workflows_3_7.txt
ion`. The child keys will define properties of the job. check-bats-version: # Configures the job to run on the latest version of an Ubuntu Linux runner. This means that the job will execute on a fresh virtual machine hosted by GitHub. For syntax examples using other runners, see "[AUTOTITLE](/actions/ref...
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_93_0.txt
19 How to create a badge with test coverage (jacoco) on github (actions)
github_using_workflows_jobs/251790_57_0.txt
#### stephen-oconnor-cp Jan 30, 2024
github_using_workflows_jobs/manually-running-a-workflow7_43_0.txt
* Security hardening with OpenID Connect * OpenID Connect in AWS
github_using_workflows_jobs/manually-running-a-workflow7_106_0.txt
* Configuring a workflow to run manually * Running a workflow
github_using_workflows_jobs/github_using_workflows_1_11.txt
ly generated and unique for each run. Text ::{endtoken}:: ::{endtoken}:: ### Example: Stopping and starting workflow commands YAML jobs: workflow-command-job: runs-on: ubuntu-latest steps: - name: Disable workflow commands ...
github_using_workflows_jobs/251790_109_0.txt
Code Link
github_using_workflows_jobs/manually-running-a-workflow7_81_0.txt
* Using OIDC * Using WireGuard
github_using_workflows_jobs/manually-running-a-workflow7_38_0.txt
* Deploying Node.js to Azure App Service * Deploying Python to Azure App Service
github_using_workflows_jobs/251790_3_0.txt
* Actions Automate any workflow
github_using_workflows_jobs/manually-running-a-workflow7_49_0.txt
* Configure custom protection rules * Manage your deployments
github_using_workflows_jobs/github_using_workflows_6_24.txt
low syntax for GitHub Actions ](/en/actions/using-workflows/workflow-syntax-for-github- actions#onevent_nametypes) ." **Note:** This event will only trigger a workflow run if the workflow file is on the default branch. Runs your workflow when the workflow's repository is starred. For information about the pull reques...
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_4_0.txt
* Meta Stack Overflow ### your communities
github_using_workflows_jobs/github_using_jobs_6_6.txt
` contents:write ` allows the action to create a release. For more information, see " [ Permissions required for GitHub Apps ](/en/rest/overview/permissions-required-for-github-apps?apiVersion=2022-11-28#repository-permissions-for-contents) ." ` deployments ` | Work with deployments. For example, ` deployments: wr...
github_using_workflows_jobs/251790_29_0.txt
# GitHub Community * Overview * Repositories * Discussions * Packages * People
github_using_workflows_jobs/251790_12_0.txt
* Solutions For
github_using_workflows_jobs/251790_64_0.txt
# {{editor}}'s edit {{actor}} deleted this content .
github_using_workflows_jobs/251790_11_0.txt
Explore * All features * Documentation * GitHub Skills * Blog
github_using_workflows_jobs/github_using_jobs_5_1.txt
s ](/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/managing-workf...
github_using_workflows_jobs/github_using_workflows_8_3.txt
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-git...
github_using_workflows_jobs/manually-running-a-workflow7_69_0.txt
* Migrate from Travis CI * Monitor & troubleshoot
github_using_workflows_jobs/251790_52_0.txt
7 You must be logged in to vote 👎 1
github_using_workflows_jobs/how-to-get-the-current-branch-within-github-actions6_52_0.txt
Follow answered Jul 13, 2022 at 23:07