Skip to content

Commit a3ce724

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

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/autotag_docs.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@ 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')
87
runs-on: ubuntu-latest
98
steps:
109
- name: Process docs PRs
1110
env:
12-
GH_TOKEN: ${{ github.token }}
11+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1312
run: |
1413
# Determine ROS distro and label from PR title
1514
pr_title="${{ github.event.pull_request.title }}"
@@ -23,6 +22,8 @@ jobs:
2322
label="backport-jazzy"
2423
fi
2524
25+
gh pr edit 762 --repo ros-navigation/docs.nav2.org --add-label documentation
26+
2627
# Get PR numbers from commits
2728
prs=$(gh api repos/ros-navigation/navigation2/pulls/${{ github.event.number }}/commits \
2829
--jq '.[].commit.message' | grep -o '#[0-9]\+' | tr -d '#' | sort -u)

0 commit comments

Comments
 (0)