Clearly labeled third-party plugins #5238
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: check-label-preview-env | |
on: | |
pull_request: | |
types: [labeled] | |
jobs: | |
check-label-preview-env: | |
runs-on: ubuntu-latest | |
steps: | |
- name: check-label | |
if: contains(github.event.pull_request.labels.*.name, 'preview-environment') | |
run: echo "label exist, will trigger the preview environment" | |
- name: Set PR | |
env: | |
PR_NUMBER: ${{ github.event.pull_request.number }} | |
run: | | |
echo "$PR_NUMBER" > pr.txt | |
- name: Save PR | |
uses: actions/upload-artifact@65d862660abb392b8c4a3d1195a2108db131dd05 # v3.1.2 | |
with: | |
name: pr.txt | |
path: pr.txt |