Skip to content

Commit

Permalink
doc: Document forked repo config
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Apr 5, 2020
1 parent 97feafe commit 48c94d0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ This action locks a pull-request
uses: sudo-bot/[email protected]
with:
branches: master, STABLE, next
source-url: "https://${{ secrets.BOT_TOKEN }}:[email protected]/myname/myproject.git"
fork-url: "https://${{ secrets.BOT_TOKEN }}:[email protected]/myname/myproject.git"
source-url: "https://${{ secrets.BOT_TOKEN }}:[email protected]/orgname/officialproject.git"
# Give repo scope to token and access to myname/officialproject-fork for a token user != myname (eg: a bot)
fork-url: "https://${{ secrets.BOT_TOKEN }}:[email protected]/myname/officialproject-fork.git"
dry-run: "true" # remove this line to make sync effective
clone-depth: "100" # optional, defaults to 100
```

0 comments on commit 48c94d0

Please sign in to comment.