Also various fixes to the script to work correctly
in GH actions.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
LGTM
.github/workflows/sync-release-repo.yml | ||
---|---|---|
6 | This is good practice! I'm glad you've pointed it out. | |
llvm/utils/git/sync-release-repo.sh | ||
28 | Just to be sure: The fact that you've written GH_TOKEN: ${{ secrets.GH_TOKEN }} in the workflow file will hide or mask the token here, when looking at the output, right? |
llvm/utils/git/sync-release-repo.sh | ||
---|---|---|
28 | Yeah. It searchs the output for the string that's in the value of the column to mask it. |
.github/workflows/sync-release-repo.yml | ||
---|---|---|
9 | We tend to use more descriptive names for tokens to ensure they are unique "per task". |
.github/workflows/sync-release-repo.yml | ||
---|---|---|
9 | Feel free to add the secret with a better name and I'll adapt the script to that name tomorrow. |
This is good practice! I'm glad you've pointed it out.