Skip to content

Commit

Permalink
Feat/readme (#13)
Browse files Browse the repository at this point in the history
* feat: updated readme parameters as per the latest template

* feat: updated token
  • Loading branch information
VishwajitNagulkar authored Apr 3, 2024
1 parent ef9b214 commit f323981
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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()
# - 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()

0 comments on commit f323981

Please sign in to comment.