diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 32f03fe..94e5e3d 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -10,12 +10,7 @@ jobs: name: Validate Pull Request runs-on: ubuntu-latest - permissions: - contents: write - packages: write - attestations: write - id-token: write - + permissions: "write-all" steps: - name: Checkout Code uses: actions/checkout@v4 @@ -58,4 +53,16 @@ jobs: commit-message: "Updating tracked Git version in source code" branch: ${{ github.head_ref }} github-token: ${{ secrets.GITHUB_TOKEN }} - commit-all: 'true' \ No newline at end of file + commit-all: 'true' + use-pull-request: 'true' + + - name: Outputs + shell: bash + env: + SHA: ${{ steps.commit.outputs.sha }} + BRANCH: ${{ steps.commit.outputs.branch }} + PR_NUMBER: ${{ steps.commit.outputs.pr-number }} + run: | + echo $SHA + echo $BRANCH + echo $PR_NUMBER \ No newline at end of file