Skip to content

Commit 243ebb8

Browse files
authored
ci: fix permissions + migrate to fresher action (Pr Assign) (#3117)
* ci: fix permissions + migrate to fresher action * ci: remove unnecessary comment
1 parent 6a5c891 commit 243ebb8

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/pr_assignee.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
name: Assign PR to creator
22

3-
# Due to GitHub token limitation, only able to assign org members not authors from forks.
4-
# https://github.com/thomaseizinger/assign-pr-creator-action/issues/3
5-
63
on:
7-
pull_request:
4+
pull_request_target:
85
types: [opened]
96
branches-ignore:
107
- l10n_dev
118

9+
permissions:
10+
pull-requests: write
11+
1212
jobs:
1313
automation:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Assign PR to creator
17-
uses: thomaseizinger/[email protected]
17+
uses: toshimaru/[email protected]
1818
with:
1919
repo-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/pr_milestone.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
pull_request:
77
types: [opened]
88

9+
permissions:
10+
pull-requests: write
11+
912
jobs:
1013
automation:
1114
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)