Bug fix: allow ->* without a space #1
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
# Marks all changed PR as draft | |
name: Draft on Synchronize | |
on: | |
pull_request: | |
types: [ synchronize ] | |
concurrency: | |
group: shouldturntodraft-${{ github.event.number }} | |
cancel-in-progress: true | |
jobs: | |
mark-as-draft: | |
name: Mark as draft | |
if: github.event.pull_request.draft == false | |
runs-on: ubuntu-latest | |
steps: | |
- name: Save PR number | |
env: | |
PR_NUMBER: ${{ github.event.pull_request.node_id }} | |
run: | | |
mkdir -p ./pr | |
echo $PR_NUMBER > ./pr/pr_number | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: pr_number | |
path: pr/ |