diff --git a/.github/workflows/publish-bicep.yaml b/.github/workflows/publish-bicep.yaml index 26c25e56..17af6916 100644 --- a/.github/workflows/publish-bicep.yaml +++ b/.github/workflows/publish-bicep.yaml @@ -102,7 +102,7 @@ jobs: run: | echo "commit_hash_short=$(git rev-parse HEAD --short)" >> $GITHUB_OUTPUT echo "gh_uri=https://github.com/radius-project/bicep-types-aws/tree/$(git rev-parse HEAD)/artifacts/bicep" >> $GITHUB_OUTPUT - + - name: Clone https://github.com/radius-project/bicep uses: actions/checkout@v3 with: @@ -116,6 +116,10 @@ jobs: mkdir -p workflow-temp/bicep/src/Bicep.Types.Aws/generated cp -R artifacts/bicep/* workflow-temp/bicep/src/Bicep.Types.Aws/generated + - name: Find GH pull request number + run: | + echo ${{ github.event.pull_request.number }} + - name: Create Pull Request in radius-project/bicep repo uses: peter-evans/create-pull-request@v4 with: