Skip to content

Commit

Permalink
fix- GITHUB_TOKEN in readme workflow (#30)
Browse files Browse the repository at this point in the history
* fix- github-token in readme workflow

* latest code pull
  • Loading branch information
h1manshu98 authored Sep 27, 2023
1 parent 31711dd commit b6f5fac
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
branches:
- master
workflow_dispatch:

jobs:
readme-create:
name: 'readme-create'
Expand All @@ -25,7 +24,7 @@ jobs:
actions_subcommand: 'readme'
github_token: '${{ secrets.GITHUB }}'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB }}


- name: 'pre-commit check errors'
Expand All @@ -42,7 +41,7 @@ jobs:
with:
actions_subcommand: 'push'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB }}

- name: 'Slack Notification'
uses: clouddrove/action-slack@v2
Expand All @@ -51,7 +50,7 @@ jobs:
fields: repo,author
author_name: 'CloudDrove'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required
GITHUB_TOKEN: ${{ secrets.GITHUB }} # required
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }} # required
if: always()

Expand Down

0 comments on commit b6f5fac

Please sign in to comment.