only create ghost records when it is not an incremental run #50
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: "Checking Labels" | |
permissions: | |
issues: write | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
branches: | |
- main | |
concurrency: | |
group: trigger-group | |
cancel-in-progress: false | |
jobs: | |
checking-labels: | |
runs-on: ubuntu-latest | |
steps: | |
- name: | |
id: checking-labels | |
env: | |
LABEL: ${{ contains(github.event.pull_request.labels.*.name, 'testing') }} | |
PRID: ${{ github.event.number }} | |
run: | | |
mkdir -p ./label | |
echo $LABEL > ./label/label | |
echo $LABEL | |
mkdir -p ./prid | |
echo $PRID > ./prid/prid | |
echo $PRID | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: label | |
path: label/ | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: prid | |
path: prid/ |