Skip to content

Commit

Permalink
Use default github.token
Browse files Browse the repository at this point in the history
  • Loading branch information
hollow committed Aug 15, 2024
1 parent 1c18173 commit b21f27c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/deployment-start.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ on:
description: "Slack channel to post to"

secrets:
github-token:
required: true
description: "GitHub token for deployments"

slack-token:
required: true
description: "Slack token for posting messages"
Expand Down Expand Up @@ -52,5 +48,5 @@ jobs:
- id: github
uses: chrnorm/deployment-action@v2
with:
token: ${{ secrets.github-token }}
token: ${{ github.token }}
environment: ${{ inputs.github-environment }}
6 changes: 1 addition & 5 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ on:
description: "Slack thread timestamp"

secrets:
github-token:
required: true
description: "GitHub token for deployments"

slack-token:
required: true
description: "Slack token for posting messages"
Expand All @@ -51,6 +47,6 @@ jobs:
- id: github
uses: chrnorm/deployment-status@v2
with:
token: ${{ secrets.github-token }}
token: ${{ github.token }}
deployment-id: ${{ inputs.github-deployment-id }}
state: ${{ inputs.github-deployment-state }}

0 comments on commit b21f27c

Please sign in to comment.