Skip to content

Commit

Permalink
chore: update github actions token (#186)
Browse files Browse the repository at this point in the history
* chore: limit assignees to the first 10 members of a team

* chore: update token

Signed-off-by: Tiexin Guo <[email protected]>

---------

Signed-off-by: Tiexin Guo <[email protected]>
  • Loading branch information
IronCore864 authored Nov 6, 2024
1 parent 22fc084 commit 58d49b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/matrix-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ jobs:
run: pip install tox
- name: Run tests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_WITH_TEAM }}
run: tox -e run-interface-test-matrix
5 changes: 3 additions & 2 deletions run_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,9 @@ def create_issue(
issue = existing_issue
break

team_members = get_team_members_from_team_slug(maintainer)

# Issues in public repositories can have up to 10 people assigned.
# https://github.com/canonical/charm-relation-interfaces/actions/runs/11318866281
team_members = get_team_members_from_team_slug(maintainer)[:10]
if issue:
issue.create_comment(body)
print(f"GitHub issue updated: {issue.html_url}")
Expand Down

0 comments on commit 58d49b4

Please sign in to comment.