-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use the github bot PAT for assign to project and release please (…
…#14) * feat: use release-please v4 that accepts a token * feat: use the github PAT for assign-to-project
- Loading branch information
1 parent
e940430
commit 01fe85b
Showing
2 changed files
with
6 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,11 +15,6 @@ on: | |
required: false | ||
type: number | ||
|
||
secrets: | ||
ASSIGN_TO_PROJECT_TOKEN: | ||
description: Personal Access Token with "repo" and "project" permissions. | ||
required: true | ||
|
||
jobs: | ||
project: | ||
runs-on: ubuntu-latest | ||
|
@@ -29,15 +24,15 @@ jobs: | |
name: Add to project | ||
uses: actions/[email protected] | ||
with: | ||
project-url: https://github.com/orgs/hedia-team/projects/${{inputs.project-id || 2}} | ||
github-token: ${{ secrets.ASSIGN_TO_PROJECT_TOKEN }} | ||
project-url: https://github.com/orgs/hedia-team/projects/${{ inputs.project-id || 2 }} | ||
github-token: ${{ secrets.HEDIA_BOT_GITHUB_PAT }} | ||
|
||
- if: github.event_name == 'pull_request' | ||
name: Set status | ||
uses: hedia-team/[email protected] | ||
with: | ||
project-url: https://github.com/orgs/hedia-team/projects/${{inputs.project-id || 2}} | ||
github-token: ${{ secrets.ASSIGN_TO_PROJECT_TOKEN }} | ||
project-url: https://github.com/orgs/hedia-team/projects/${{ inputs.project-id || 2 }} | ||
github-token: ${{ secrets.HEDIA_BOT_GITHUB_PAT }} | ||
item-id: ${{ steps.addItem.outputs.itemId }} | ||
field-keys: Status | ||
field-values: In Progress |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters