mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
add missing token
This commit is contained in:
parent
810eff2349
commit
f4709d663d
5
.github/workflows/pr-needs-documentation.yml
vendored
5
.github/workflows/pr-needs-documentation.yml
vendored
@ -58,6 +58,8 @@ jobs:
|
||||
- name: Get PR body as JSON
|
||||
id: get_pr_info
|
||||
uses: octokit/request-action@v2.x
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
route: GET /repos/qgis/QGIS/pulls/:pull_number
|
||||
pull_number: ${{ github.event.pull_request.number }}
|
||||
@ -74,13 +76,14 @@ jobs:
|
||||
- name: Get PR commits
|
||||
uses: octokit/request-action@v2.x
|
||||
id: get_pr_commits
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
route: GET /repos/qgis/QGIS/pulls/:pull_number/commits
|
||||
pull_number: ${{ github.event.pull_request.number }}
|
||||
|
||||
# extracts the matching commits
|
||||
- name: Filter commits with \[needs?.doc(umentation)?s?\]
|
||||
if: github.event.pull_request.merged && ( ( github.event.action == 'closed' && contains( github.event.pull_request.labels.*.name, 'Needs Documentation') ) || github.event.label.name == 'Needs Documentation' )
|
||||
id: filtered_commits
|
||||
env:
|
||||
JSON_DATA: ${{ steps.get_pr_commits.outputs.data }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user