Skip to content

Support Azure OpenAI Foundry providers #725

Support Azure OpenAI Foundry providers

Support Azure OpenAI Foundry providers #725

Workflow file for this run

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'],
});