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:
parent
afc7de3f4d
commit
50d884f7af
24
.github/workflows/welcome.yml
vendored
24
.github/workflows/welcome.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user