diff --git a/.github/workflows/readme.yml b/.github/workflows/readme.yml index b7ab4a2..c7dfa6e 100644 --- a/.github/workflows/readme.yml +++ b/.github/workflows/readme.yml @@ -19,7 +19,7 @@ jobs: steps: - name: Updating GitHub Token env: - GITHUB_TOKEN: ${{ secrets.GITHUB }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: echo "GH_TOKEN=${GITHUB_TOKEN}" >> $GITHUB_ENV - name: checkout @@ -38,10 +38,9 @@ jobs: uses: 'clouddrove/github-actions@9.0.3' with: actions_subcommand: 'readme' - github_token: '${{ secrets.GITHUB }}' + github_token: '${{ secrets.GITHUB_TOKEN}}' env: - GITHUB_TOKEN: ${{ secrets.GITHUB }} - + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}} - name: 'pre-commit check errors' uses: pre-commit/action@v3.0.1 @@ -59,13 +58,13 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB }} - - name: 'Slack Notification' - uses: clouddrove/action-slack@v2 - with: - status: ${{ job.status }} - fields: repo,author - author_name: 'CloudDrove' - env: - GITHUB_TOKEN: ${{ secrets.GITHUB }} # required - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }} # required - if: always() \ No newline at end of file + # - name: 'Slack Notification' + # uses: clouddrove/action-slack@v2 + # with: + # status: ${{ job.status }} + # fields: repo,author + # author_name: 'CloudDrove' + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required + # SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }} # required + # if: always()