diff --git a/.github/workflows/gh-stars-to-discord.yml b/.github/workflows/gh-stars-to-discord.yml index c72f84707..887a28eab 100644 --- a/.github/workflows/gh-stars-to-discord.yml +++ b/.github/workflows/gh-stars-to-discord.yml @@ -5,6 +5,10 @@ on: - cron: '0 * * * *' # Every 1 hour. You can change the frequency as needed. workflow_dispatch: # Allows manual triggering +permissions: + contents: read + actions: write + env: DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }} GITHUB_REPOSITORY: 'codeharborhub/codeharborhub.github.io'