Skip to content

Commit

Permalink
Do not run examples on PRs
Browse files Browse the repository at this point in the history
As the API token is not available for PRs, the build will fail.
  • Loading branch information
HenningHolmDE committed Oct 6, 2024
1 parent c3e1830 commit 4815104
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
run: cargo clippy --all-targets

- name: Run examples
if: ${{ github.event_name != 'pull_request'}}
env:
HCLOUD_API_TOKEN: ${{ secrets.HCLOUD_API_TOKEN }}
run: |
Expand Down

0 comments on commit 4815104

Please sign in to comment.