diff --git a/.github/actions/secure-upload-folder/action.yml b/.github/actions/secure-upload-folder/action.yml index d7773d0346..11294b3be6 100644 --- a/.github/actions/secure-upload-folder/action.yml +++ b/.github/actions/secure-upload-folder/action.yml @@ -24,14 +24,6 @@ inputs: path: description: 'Path to the folder' required: true - repo: - description: 'repo of secure-upload-artifact to use' - required: false - default: 'slsa-framework/slsa-github-generator' - ref: - description: 'ref of secure-upload-artifact to use' - required: false - default: 'main' outputs: sha256: description: "SHA256 of the uploaded tarball." @@ -68,7 +60,7 @@ runs: - name: Upload the artifact id: upload - uses: "${{ inputs.repo }}.github/actions/secure-upload-artifact@${{ inputs.ref }}" + uses: slsa-framework/slsa-github-generator/.github/actions/secure-upload-artifact@main with: name: "${{ inputs.name }}" path: "${{ steps.create.outputs.tarball-path }}" diff --git a/.github/workflows/pre-submit.actions.yml b/.github/workflows/pre-submit.actions.yml index 97d0d55556..2e315c2f42 100644 --- a/.github/workflows/pre-submit.actions.yml +++ b/.github/workflows/pre-submit.actions.yml @@ -260,7 +260,6 @@ jobs: with: name: "${{ env.ARTIFACT_NAME }}" path: "${{ env.UPLOAD_FOLDER_NAME }}" - repo: - name: Upload id: upload-noroot @@ -268,8 +267,6 @@ jobs: with: name: "${{ env.ARTIFACT_NO_ROOT_NAME }}" path: "${{ env.UPLOAD_FOLDER_NO_ROOT_NAME }}" - repo: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name || github.repository }} - ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} - name: Download in new folder uses: ./.github/actions/secure-download-folder