aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/squash-typos.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/squash-typos.yml b/.github/workflows/squash-typos.yml
index 6f5e24a9b6..6779589dc6 100644
--- a/.github/workflows/squash-typos.yml
+++ b/.github/workflows/squash-typos.yml
@@ -1,7 +1,7 @@
name: Squash Typo Pull Requests
on:
- pull_request:
+ pull_request_target:
types: labeled
concurrency:
group: ${{ github.workflow }}
@@ -21,7 +21,6 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- ref: master
- uses: actions/setup-python@v2
- name: Setup git config
@@ -30,3 +29,5 @@ jobs:
git config --global user.email 'marvim@users.noreply.github.com'
- run: python scripts/squash_typos.py
+ env:
+ PR_NUMBER: ${{ github.event.number }}