-
Notifications
You must be signed in to change notification settings - Fork 521
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
52 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
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
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 |
---|---|---|
|
@@ -22,23 +22,29 @@ jobs: | |
with: | ||
go-version: 1.22.4 | ||
|
||
- name: Get app token | ||
uses: actions/create-github-app-token@v1 | ||
id: get-github-app-token | ||
with: | ||
app-id: ${{secrets.APP_ID}} | ||
private-key: ${{secrets.APP_PRIVATE_KEY}} | ||
owner: ${{ github.repository_owner }} | ||
|
||
- name: Check out code | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
token: ${{ secrets.GH_BOT_ACCESS_TOKEN }} | ||
token: ${{ steps.get-github-app-token.outputs.token }} | ||
|
||
- name: Update serverless gomod | ||
run: make -C cmd/tempo-serverless update-mod | ||
|
||
- name: Commit serverless gomod changes | ||
env: | ||
USER: grafanabot | ||
TOKEN: ${{ secrets.GH_BOT_ACCESS_TOKEN }} | ||
USER: x-access-token | ||
TOKEN: ${{ steps.get-github-app-token.outputs.token }} | ||
run: | | ||
git config --global url."https://${USER}:${TOKEN}@github.com/grafana/tempo".insteadOf "https://github.com/grafana/tempo" | ||
git config user.name grafanabot | ||
git config user.email [email protected] | ||
git add cmd/tempo-serverless/lambda/go.mod | ||
git add cmd/tempo-serverless/lambda/go.sum | ||
git add cmd/tempo-serverless/cloud-run/go.mod | ||
|
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
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
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 |
---|---|---|
|
@@ -12,7 +12,14 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Get app token | ||
uses: actions/create-github-app-token@v1 | ||
id: get-github-app-token | ||
with: | ||
app-id: ${{secrets.APP_ID}} | ||
private-key: ${{secrets.APP_PRIVATE_KEY}} | ||
owner: ${{ github.repository_owner }} | ||
- uses: actions/[email protected] | ||
with: | ||
project-url: https://github.com/orgs/grafana/projects/135 | ||
github-token: ${{ secrets.GH_BOT_ACCESS_TOKEN }} | ||
github-token: ${{ steps.get-github-app-token.outputs.token }} |