mirror of
https://github.com/xHyroM/bun-discord-bot.git
synced 2024-11-26 00:01:06 +01:00
chore(workflows/validate): add ref
This commit is contained in:
parent
b78a3d04b6
commit
9d3dda4b6b
1 changed files with 7 additions and 2 deletions
9
.github/workflows/validate.yml
vendored
9
.github/workflows/validate.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: Validate Tags
|
name: Validate
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
|
@ -9,6 +9,8 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
ref: refs/pull/${{ github.event.number }}/merge
|
||||||
|
|
||||||
- name: Setup Bun
|
- name: Setup Bun
|
||||||
uses: xhyrom/setup-bun@v0.1.3
|
uses: xhyrom/setup-bun@v0.1.3
|
||||||
|
@ -24,5 +26,8 @@ jobs:
|
||||||
- name: Add json
|
- name: Add json
|
||||||
run: cp $HOME/files.json ./scripts/validateTags/
|
run: cp $HOME/files.json ./scripts/validateTags/
|
||||||
|
|
||||||
- name: Validate tags
|
- name: Validate tag
|
||||||
run: bun run validate
|
run: bun run validate
|
||||||
|
env:
|
||||||
|
PR_ID: ${{ github.event.pull_request.number }}
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Reference in a new issue