forked from open-telemetry/opentelemetry-collector-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Alex Boten
authored
May 12, 2023
1 parent
a586522
commit b4a838e
Showing
1 changed file
with
5 additions
and
8 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 |
---|---|---|
|
@@ -13,7 +13,7 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
branch: ${{ github.head_ref }} | ||
ref: ${{ github.head_ref }} | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.19 | ||
|
@@ -34,10 +34,7 @@ jobs: | |
- name: go mod tidy | ||
run: | | ||
make gotidy | ||
git config user.name opentelemetrybot | ||
git config user.email [email protected] | ||
git checkout ${{ github.head_ref }} | ||
echo "git diff --exit-code || (git add . && git commit -m \"go mod tidy\" && git push origin ${{ github.head_ref }})" | ||
git diff --exit-code || (git add . && git commit -m "go mod tidy" && git push origin ${{ github.head_ref }}) | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
echo "git diff --exit-code || (git add . && git commit -m \"go mod tidy\" && git push)" | ||
git diff --exit-code || (git add . && git commit -m "go mod tidy" && git push) |