Difference between revisions of "Github.event name"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
  
  
    <nowiki> - name: Set PR tag
+
  <nowiki> - name: Set PR tag
        if: ${{ github.event_name == '[[pull_request]]' }}
+
            if: ${{ github.event_name == '[[pull_request]]' }}
        run: echo "TAG=pull-request-${{ github.event.number }}" >> $GITHUB_ENV</nowiki>
+
            run: echo "TAG=pull-request-${{ github.event.number }}" >> $GITHUB_ENV</nowiki>
  
  

Revision as of 11:01, 26 January 2023

github.event_name


  - name: Set PR tag
             if: ${{ github.event_name == '[[pull_request]]' }}
             run: echo "TAG=pull-request-${{ github.event.number }}" >> $GITHUB_ENV


See also

Advertising: