1
1
mirror of https://github.com/primer/css.git synced 2024-11-20 20:12:09 +03:00

Update welcome.yml

This commit is contained in:
Jon Rohan 2024-08-30 10:07:23 -07:00 committed by GitHub
parent afc7de3f4d
commit 50d884f7af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,14 @@
name: Welcome
on:
pull_request:
types:
# On by default if you specify no types.
- "opened"
- "reopened"
- "synchronize"
# For `skip-label` only.
- "labeled"
- "unlabeled"
jobs:
release-template:
@ -39,6 +47,22 @@ jobs:
})
}
check-for-changeset:
name: Check for changeset
runs-on: ubuntu-latest
env:
SKIP_LABEL: "skip changeset"
steps:
- if: "contains(github.event.pull_request.labels.*.name, 'skip changeset')"
run: echo "passed"; exit 0;
- if: "!contains(github.event.pull_request.labels.*.name, 'skip changeset')"
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- if: "!contains(github.event.pull_request.labels.*.name, 'skip changeset')"
name: "Check for changeset"
run: script/check-for-changeset
bundle-stats:
needs: release-template
runs-on: ubuntu-latest