Skip to content

Commit

Permalink
fix(argo-lint): fallback to hardcode action repo (#213)
Browse files Browse the repository at this point in the history
* fix(argo-lint): add action_repository directly to with:

The redirection via `env:` would only apply when it's reference in `run:`.

* fix(argo-lint): hardcode repo

* fix(argo-lint): default ref to master

* fix(argo-lint): only use master

* fix(argo-lint): s/master/main

* revert to main version

* print context and use hardcoded repo

* quote slash

* fix identation

* fix identation again

* use ||

* rever indentation

* rever indentation

* remove debugging lines

* move env into with

* Revert "move env into with"

This reverts commit 186aef0.
  • Loading branch information
Duologic authored Aug 15, 2024
1 parent 318d33e commit c663230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions/argo-lint/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ runs:
# In a composite action, these two need to be indirected via the
# environment, as per the GitHub actions documentation:
# https://docs.github.com/en/actions/learn-github-actions/contexts
action_repo: ${{ github.action_repository }}
action_repo: "${{ github.action_repository || 'grafana/shared-workflows' }}"
action_ref: ${{ github.action_ref }}
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
Expand Down

0 comments on commit c663230

Please sign in to comment.