Skip to content

Commit

Permalink
Revert "github-actions: use GH app to manage the projects" (#1662)
Browse files Browse the repository at this point in the history
This reverts commit 3c843c1.
  • Loading branch information
v1v authored Oct 7, 2024
1 parent 3c843c1 commit 0b20e23
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/addToAPMProject.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,6 @@ jobs:
runs-on: ubuntu-latest
name: Assign issues to APM Project for the Server Team
steps:
- name: Get token
id: get_token
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
with:
app_id: ${{ secrets.OBS_AUTOMATION_APP_ID }}
private_key: ${{ secrets.OBS_AUTOMATION_APP_PEM }}
permissions: >-
{
"repository_projects": "write"
}
- uses: octokit/[email protected]
id: add_to_project
with:
Expand All @@ -38,7 +28,7 @@ jobs:
contentid: ${{ github.event.issue.node_id }}
env:
PROJECT_ID: "PVT_kwDOAGc3Zs0VSg"
GITHUB_TOKEN: ${{ steps.get_token.outputs.token }}
GITHUB_TOKEN: ${{ secrets.APM_TECH_USER_TOKEN }}
- uses: octokit/[email protected]
id: label_team
with:
Expand All @@ -61,4 +51,4 @@ jobs:
value: "6c538d8a"
env:
PROJECT_ID: "PVT_kwDOAGc3Zs0VSg"
GITHUB_TOKEN: ${{ steps.get_token.outputs.token }}
GITHUB_TOKEN: ${{ secrets.APM_TECH_USER_TOKEN }}

0 comments on commit 0b20e23

Please sign in to comment.