action(post-release): use fetch-depth, quoting and fix git commands #1902
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: Auto Assign to Project(s) | |
on: | |
issues: | |
types: [opened, edited, milestoned] | |
pull_request_target: | |
types: [opened, edited, milestoned] | |
env: | |
MY_GITHUB_TOKEN: ${{ secrets.APM_TECH_USER_TOKEN }} | |
jobs: | |
assign_one_project: | |
runs-on: ubuntu-latest | |
name: Assign milestoned to Project | |
steps: | |
- name: Assign issues with milestones to project | |
uses: elastic/[email protected] | |
if: github.event.issue && github.event.issue.milestone | |
with: | |
project: 'https://github.com/orgs/elastic/projects/454' | |
project_id: '5882982' | |
column_name: 'Planned' | |
- name: Assign new pull requests to project | |
uses: elastic/[email protected] | |
if: github.event.action == 'opened' && github.event.pull_request | |
with: | |
project: 'https://github.com/orgs/elastic/projects/454' | |
project_id: '5882982' | |
column_name: 'In Progress' |