Skip to content

Commit 48c94d0

Browse files
committed
doc: Document forked repo config
1 parent 97feafe commit 48c94d0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ This action locks a pull-request
99
uses: sudo-bot/[email protected]
1010
with:
1111
branches: master, STABLE, next
12-
source-url: "https://${{ secrets.BOT_TOKEN }}:[email protected]/myname/myproject.git"
13-
fork-url: "https://${{ secrets.BOT_TOKEN }}:[email protected]/myname/myproject.git"
12+
source-url: "https://${{ secrets.BOT_TOKEN }}:[email protected]/orgname/officialproject.git"
13+
# Give repo scope to token and access to myname/officialproject-fork for a token user != myname (eg: a bot)
14+
fork-url: "https://${{ secrets.BOT_TOKEN }}:[email protected]/myname/officialproject-fork.git"
1415
dry-run: "true" # remove this line to make sync effective
1516
clone-depth: "100" # optional, defaults to 100
1617
```

0 commit comments

Comments
 (0)