Skip to content

Commit

Permalink
Merge branch 'main' into markdown-img-bg
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrohan authored Aug 30, 2024
2 parents a08fd80 + 50d884f commit 3fe91c9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/welcome.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3fe91c9

Please sign in to comment.