Skip to content

Commit

Permalink
[build] fix issue generator task (open-telemetry#9774)
Browse files Browse the repository at this point in the history
The github action for auto-generating issues when load tests are failing in main has been broken for some time. The check for branch was looking at the wrong branch name. Additionally the install command in the windows version was using an old go path.
  • Loading branch information
Alex Boten authored and djaglowski committed May 10, 2022
1 parent 3a73c02 commit acd11f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
go test --tags containers_image_openpgp,exclude_graphdriver_btrfs,exclude_graphdriver_devicemapper ./...
working-directory: ./receiver/activedirectorydsreceiver
- name: GitHub Issue Generator
if: ${{ failure() && github.ref == 'ref/head/main' }}
if: ${{ failure() && github.ref == 'refs/heads/main' }}
run: |
cd internal/tools && go install go.opentelemetry.io/collector/cmd/issuegenerator
cd internal/tools && go install go.opentelemetry.io/build-tools/issuegenerator
issuegenerator $TEST_RESULTS
2 changes: 1 addition & 1 deletion .github/workflows/load-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,5 +131,5 @@ jobs:
with:
path: ./*.tar
- name: GitHub Issue Generator
if: ${{ failure() && github.ref == 'ref/head/main' }}
if: ${{ failure() && github.ref == 'refs/heads/main' }}
run: issuegenerator $TEST_RESULTS

0 comments on commit acd11f1

Please sign in to comment.