Skip to content

Commit 5224870

Browse files
Testing permissions of gh cli.
Signed-off-by: Leander Stephen D'Souza <[email protected]>
1 parent ba5efc4 commit 5224870

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/autotag_docs.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,17 @@ on:
44

55
jobs:
66
label-docs:
7-
if: contains(github.event.pull_request.title, 'Kilted Sync') || contains(github.event.pull_request.title, 'Jazzy Sync')
7+
# if: contains(github.event.pull_request.title, 'Kilted Sync') || contains(github.event.pull_request.title, 'Jazzy Sync')
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Process docs PRs
1111
env:
12-
GH_TOKEN: ${{ github.token }}
12+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1313
run: |
14+
15+
# Testing permissions of github token (must be removed before merge)
16+
gh pr edit 762 --repo ros-navigation/docs.nav2.org --add-label documentation
17+
1418
# Determine ROS distro and label from PR title
1519
pr_title="${{ github.event.pull_request.title }}"
1620

0 commit comments

Comments
 (0)