Skip to content

Commit

Permalink
removed octokit
Browse files Browse the repository at this point in the history
Signed-off-by: Ved Ratan <[email protected]>
  • Loading branch information
VedRatan committed Jul 5, 2024
1 parent 820d83e commit cdcfd97
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/nightly-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,19 @@ jobs:
run: |
make ko-build-kyverno KO_DOCKER_REPO=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Authenticate with repository
uses: octokit/request-action@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
repository: 'nirmata/reusable-workflows'
path: /repos/nirmata/reusable-workflows/.github/actions/image-scanning/action.yml
method: GET
# - name: Authenticate with repository
# uses: octokit/request-action@v3
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# repository: 'nirmata/reusable-workflows'
# path: /repos/nirmata/reusable-workflows/.github/actions/image-scanning/action.yml
# method: GET

- name: image scanning
id: scan
uses: ./.github/actions/image-scanning@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
pcc_url: ${{ secrets.PCC_URL }}
pcc_user: ${{ secrets.PCC_USER }}
pcc_pass: ${{ secrets.PCC_PASS }}
Expand Down

0 comments on commit cdcfd97

Please sign in to comment.