-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "chore: update add item to project to use the unleash bot (#32)"
This reverts commit 6518dbf.
- Loading branch information
1 parent
6518dbf
commit f8616f8
Showing
1 changed file
with
1 addition
and
15 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 |
---|---|---|
|
@@ -2,13 +2,6 @@ name: Add new item to project board | |
|
||
on: | ||
workflow_call: | ||
secrets: | ||
UNLEASH_BOT_APP_ID: | ||
description: "The app ID for the Unleash bot" | ||
required: true | ||
UNLEASH_BOT_PRIVATE_KEY: | ||
description: "The private key for the Unleash bot" | ||
required: true | ||
issues: | ||
types: | ||
- opened | ||
|
@@ -21,14 +14,7 @@ jobs: | |
name: Add issue to project | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Generate token | ||
id: generate-token | ||
uses: actions/create-github-app-token@v1 | ||
with: | ||
app-id: ${{ secrets.UNLEASH_BOT_APP_ID }} | ||
private-key: ${{ secrets.UNLEASH_BOT_PRIVATE_KEY }} | ||
|
||
- uses: actions/[email protected] | ||
with: | ||
project-url: https://github.com/orgs/Unleash/projects/8 | ||
github-token: ${{ steps.generate-token.outputs.token }} | ||
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} |