Skip to content

Commit

Permalink
Update oc runner action
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Feb 11, 2025
1 parent 32a5e9c commit 77a657a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-closed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- uses: bcgov/action-oc-runner@v0.3.0
- uses: bcgov/action-oc-runner@v1.0.0

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'PR Closed' step
Uses Step
uses 'bcgov/action-oc-runner' with ref 'v1.0.0', not a pinned commit hash
with:
oc_namespace: ${{ vars.oc_namespace }}
oc_token: ${{ secrets.oc_token }}
Expand Down
10 changes: 5 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ runs:
with:
repository: ${{ inputs.repository }}

- uses: bcgov/action-oc-runner@v0.3.0
- uses: bcgov/action-oc-runner@v1.0.0
with:
oc_namespace: ${{ inputs.oc_namespace }}
oc_token: ${{ inputs.oc_token }}
Expand All @@ -121,7 +121,7 @@ runs:
[ ! $(oc get is -o name | grep ^imagestream.image.openshift.io/${i}$) ]|| oc delete is/${i}
done
- uses: bcgov/action-oc-runner@v0.3.0
- uses: bcgov/action-oc-runner@v1.0.0
id: deploy
with:
oc_namespace: ${{ inputs.oc_namespace }}
Expand Down Expand Up @@ -154,7 +154,7 @@ runs:
oc rollout status deploymentconfig/${DDC} -w
fi
- uses: bcgov/action-oc-runner@v0.3.0
- uses: bcgov/action-oc-runner@v1.0.0
with:
oc_namespace: ${{ inputs.oc_namespace }}
oc_token: ${{ inputs.oc_token }}
Expand Down Expand Up @@ -202,7 +202,7 @@ runs:
echo -e "\nRoute verification failed"
exit 1
- uses: bcgov/action-oc-runner@v0.3.0
- uses: bcgov/action-oc-runner@v1.0.0
if: inputs.post_rollout != ''
with:
oc_namespace: ${{ inputs.oc_namespace }}
Expand All @@ -214,7 +214,7 @@ runs:
# Run post deployment command (optional)
${{ inputs.post_rollout }}
- uses: bcgov/action-oc-runner@v0.3.0
- uses: bcgov/action-oc-runner@v1.0.0
if: inputs.delete_completed == 'true'
with:
oc_namespace: ${{ inputs.oc_namespace }}
Expand Down

0 comments on commit 77a657a

Please sign in to comment.