Difference between revisions of "Github.event name"
Jump to navigation
Jump to search
(Created page with " github.event_name {{GitHub Actions}}") |
|||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{lc}} | ||
+ | github.event_name | ||
− | |||
+ | <nowiki> - name: Set PR tag | ||
+ | if: ${{ github.event_name == '[[pull_request]]' }} | ||
+ | run: echo "TAG=pull-request-${{ github.event.number }}" >> $GITHUB_ENV</nowiki> | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[github.event.number]]</code> | ||
+ | * <code>[[GitHub Environment variables]]</code> | ||
+ | == See also == | ||
+ | * {{GitHub Actions}} | ||
− | + | [[Category:Git]] |
Latest 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[edit]
See also[edit]
- GitHub Actions,
act, .github/workflows/
,~/actions-runner/
,svc.sh
,run:
,deploy:
,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
Advertising: