未验证 提交 b1c82d72 编写于 作者: V Vlad Zarytovskii 提交者: GitHub

Update add_to_project.yml

上级 57ebc9a3
name: Add all issues to F# project, assign milestone and labels name: Add all issues and PRs to F# project, assign milestone and labels
on: on:
issues: issues:
types: types:
- opened - opened
- transferred - transferred
pull_request:
types:
- opened
permissions: permissions:
issues: write issues: write
...@@ -38,6 +41,7 @@ jobs: ...@@ -38,6 +41,7 @@ jobs:
github-token: ${{ secrets.REPO_PROJECT_PAT }} github-token: ${{ secrets.REPO_PROJECT_PAT }}
apply-label: apply-label:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
steps: steps:
- uses: actions/github-script@v6 - uses: actions/github-script@v6
with: with:
...@@ -50,6 +54,7 @@ jobs: ...@@ -50,6 +54,7 @@ jobs:
}) })
apply-milestone: apply-milestone:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
steps: steps:
- uses: actions/github-script@v6 - uses: actions/github-script@v6
with: with:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册