Skip to content

Commit

Permalink
dynamic workflow call
Browse files Browse the repository at this point in the history
  • Loading branch information
zMynxx committed Aug 18, 2023
1 parent 3b31fcc commit c6d3637
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/action.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test
name: Test dynamic uses
on:
workflow_dispatch:
push:
Expand Down Expand Up @@ -28,6 +28,6 @@ jobs:
# uses: ${{ vars.ORG_NAME }}/${{ vars.REPO_NAME }}/.github/actions/python/pytest@feature/gha
# with:
# requirements_file: ./poc/pytest/requirements.txt
# check2:
# name: Call reusable workflow
# uses: ${{ vars.ORG_NAME }}/${{ vars.REPO_NAME }}/.github/workflows/ci-pytest.yaml@feature/gha
check2:
name: Call reusable workflow
uses: ${{ format('{0}/{1}/.github/workflows/ci-pytest.yaml@{2}', vars.ORG_NAME, vars.REPO_NAME, vars.REF) }}
2 changes: 1 addition & 1 deletion .github/workflows/terrascan/terrascan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
policy_type: "aws"
only_warn: true
sarif_upload: true
webhook_url: ${{ secrets.SLACK_WEBHOOK_PROD }}
# webhook_url: ${{ secrets.SLACK_WEBHOOK_PROD }}
find_vulnerabilities: true
#non_recursive:
#iac_dir:
Expand Down

0 comments on commit c6d3637

Please sign in to comment.