Difference between revisions of "Github.event name"

From wikieduonline
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
  
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}}
  
{{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]

Advertising: