Mise à jour de l'EPCI exclu (métropole de Lille) pour les FSL du département Nord #446
Workflow file for this run
This file contains 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: Associate actual milestone | |
on: | |
pull_request_target: | |
types: | |
- opened | |
jobs: | |
associate-milestone: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Update milestone on a PR opening | |
run: | | |
pr_number=$(jq --raw-output .pull_request.number "$GITHUB_EVENT_PATH") | |
gh pr edit "$pr_number" --milestone "BC actuel" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |