Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 6 additions & 14 deletions .github/workflows/add-to-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@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.generate-token.outputs.github_token }}
8 changes: 7 additions & 1 deletion .github/workflows/update-create-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,10 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: grafana/plugin-actions/create-plugin-update@main
- id: get-github-token
uses: grafana/shared-workflows/actions/create-github-app-token@create-github-app-token/v0.2.2
with:
github_app: grafana-oss-big-tent
- uses: grafana/plugin-actions/create-plugin-update@create-plugin-update/v2.0.1
with:
token: ${{ steps.generate-token.outputs.github_token }}
Loading