Difference between revisions of "Github.event name"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
run: echo "TAG=pull-request-${{ github.event.number }}" >> $GITHUB_ENV</nowiki> | run: echo "TAG=pull-request-${{ github.event.number }}" >> $GITHUB_ENV</nowiki> | ||
− | + | == Related == | |
− | + | * <code>[[github.event.number]]</code> | |
+ | * <code>[[GitHub Environment variables]]</code> | ||
== See also == | == See also == |
Revision as of 09:24, 16 March 2023
github.event_name
- name: Set PR tag if: ${{ github.event_name == '[[pull_request]]' }} run: echo "TAG=pull-request-${{ github.event.number }}" >> $GITHUB_ENV
Related
See also
- GitHub Actions,
act, .github/workflows/
,~/actions-runner/
,svc.sh
,deploy:, run:, runs-on:
,uses:
,steps:
,jobs:
,on:, env:, uses:, script:, continue-on-error:, template:, aws-actions, inputs:
,GITHUB_ENV, needs:, github.
, GitHub runner, my-docker-publish.yml, GitHub Actions variables, GitHub Actions contexts, GitHub Actions Importer, If:, SLSA, Actions Runner Controller (ARC),$GITHUB OUTPUT
,notify:
, Marketplace,GITHUB_TOKEN
Advertising: