trapd00r / LS_COLORS

A collection of LS_COLORS definitions; needs your contribution!
Other
2.11k stars 260 forks source link

Fix GitHub action logic #184

Closed ahmedelgabri closed 2 years ago

ahmedelgabri commented 2 years ago

Should fix https://github.com/trapd00r/LS_COLORS/pull/183#issuecomment-1019529504

rpdelaney commented 2 years ago

Thanks, let's see :)

rpdelaney commented 2 years ago

Looks like a build fail :( https://github.com/trapd00r/LS_COLORS/actions/runs/1737140676

Edit: I'll see what I need to do to grant the necessary permissions to the bot. I assume this is in my court...

rpdelaney commented 2 years ago

@trapd00r I'm not able to access the repo settings. Can you help?

ahmedelgabri commented 2 years ago

Might be that it needs this, but I also have a similar workflow working without the token so I'm a bit confused.

It's already set by GitHub automatically https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow

Could you try adding this to this section https://github.com/trapd00r/LS_COLORS/blob/572b294639fc2823cc2c06ef18cdd92d3546774e/.github/workflows/build.yml#L18-L25

env:
  GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'