-
Notifications
You must be signed in to change notification settings - Fork 349
33 lines (29 loc) · 886 Bytes
/
pr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: pr
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
env:
YARN_ENABLE_HARDENED_MODE: 0
jobs:
dependencies:
if: ${{ github.event.pull_request.title != 'Upcoming Release Changes' }}
uses: the-guild-org/shared-config/.github/workflows/changesets-dependencies.yml@v1
with:
node-version-file: .node-version
secrets:
githubToken: ${{ secrets.GUILD_BOT_TOKEN }}
release:
if: ${{ github.event.pull_request.title != 'Upcoming Release Changes' }}
permissions:
contents: read
id-token: write
pull-requests: write
uses: the-guild-org/shared-config/.github/workflows/release-snapshot.yml@v1
with:
node-version-file: .node-version
npmTag: alpha
buildScript: build
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
npmToken: ${{ secrets.NODE_AUTH_TOKEN }}