Skip to content

added description to external ids in swagger docs (#1525) #119

added description to external ids in swagger docs (#1525)

added description to external ids in swagger docs (#1525) #119

name: Assign `Next Release` Milestone
on:
push:
branches:
- main
paths-ignore:
- 'README.md'
- 'LICENSE'
- '.gitignore'
workflow_dispatch:
inputs:
dry_run:
description: 'To run in test mode (no changes made), set to true'
required: false
default: false
type: boolean
jobs:
assign-milestone:
runs-on: ubuntu-22.04
steps:
- name: Load secrets from 1Password
id: onepw_secrets
uses: 1password/[email protected]
with:
export-env: true
env:
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
GH_TOKEN: "op://rbiv7rvkkrsdlpcrz3bmv7nmcu/GitHub generic action token for all repos/credential"
- name: Checkout repository
uses: actions/[email protected]
- name: Setup Node.js
uses: actions/[email protected]
with:
node-version: 22
- name: Install dependencies
run: npm install @octokit/rest
- name: Run milestone assignment
env:
GITHUB_TOKEN: ${{ env.GH_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
DRY_RUN: ${{ github.event.inputs.dry_run || 'false' }}
run: node scripts/assign-next-release-milestone.js