Chore: Migrate workflows to use create-github-app-token (#2142)

- Removes dependabot.yml as renovate will update grafana-sdk for us
- Migrates to `create-github-app-token`
- Pin workflows
- Removes is-compatible.yml I found that workflow not helping much but
creating an annoyingly long comment

Fixes https://github.com/grafana/oss-big-tent-squad/issues/144
This commit is contained in:
Zoltán Bedi
2025-12-19 14:47:24 +01:00
committed by GitHub
parent c02767b1c3
commit fb046e5715
12 changed files with 33 additions and 75 deletions

View File

@@ -16,20 +16,12 @@ jobs:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- id: get-secrets
uses: grafana/shared-workflows/actions/get-vault-secrets@main # zizmor: ignore[unpinned-uses]
- id: get-github-token
uses: grafana/shared-workflows/actions/create-github-app-token@ae92934a14a48b94494dbc06d74a81d47fe08a40 # create-github-app-token/v0.2.2
with:
repo_secrets: |
GITHUB_APP_ID=grafana-oss-big-tent:app-id
GITHUB_APP_PRIVATE_KEY=grafana-oss-big-tent:private-key
- name: Generate a token
id: generate-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ env.GITHUB_APP_ID }}
private-key: ${{ env.GITHUB_APP_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
- uses: actions/add-to-project@main
github_app: grafana-oss-big-tent
- name: Add to project
uses: actions/add-to-project@main
with:
project-url: https://github.com/orgs/grafana/projects/457
github-token: ${{ steps.generate-token.outputs.token }}
github-token: ${{ steps.get-github-token.outputs.token }}