Skip to content

Commit 1c501b0

Browse files
authored
fix: Use composite action instead of reusable workflow (#993)
Reusable workflows from external repos may be blocked by org policies. Using the composite action directly works across orgs.
1 parent 0451d95 commit 1c501b0

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/rebase-open-prs.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,14 @@ on:
55
branches:
66
- master
77

8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
812
jobs:
913
rebase-prs:
10-
uses: mPokornyETM/rebase-open-prs-action/.github/workflows/rebase-open-prs.yml@v1
11-
secrets:
12-
GH_PAT: ${{ secrets.GH_TOKEN_PAT }}
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: mPokornyETM/rebase-open-prs-action@v1
17+
with:
18+
github-token: ${{ secrets.GH_TOKEN_PAT }}

0 commit comments

Comments
 (0)