Support Azure OpenAI Foundry providers #725
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Mark merged PR as pending release | |
| on: | |
| pull_request: | |
| types: [closed] # fires when the PR is closed | |
| branches: [main, master] # limit to your default branch | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| label: | |
| if: github.event.pull_request.merged == true # only when it really merged | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Label merged PR | |
| uses: actions/github-script@v7 | |
| with: | |
| script: | | |
| const {owner, repo} = context.repo; | |
| const pr = context.payload.pull_request.number; | |
| await github.rest.issues.addLabels({ | |
| owner, repo, | |
| issue_number: pr, | |
| labels: ['pending release'], | |
| }); |