mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Remove auto adding tickets to project board (#7424)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
15762615d2
commit
ecfe99480c
4 files changed
-224
No files matched your search
@@ -1,33 +0,0 @@
|
||||
name: Add Card to Project(s)
|
||||
on:
|
||||
issues:
|
||||
types: [opened]
|
||||
pull_request_target:
|
||||
types: [opened]
|
||||
env:
|
||||
MY_GITHUB_TOKEN: ${{ secrets.PROJECT_GITHUB_TOKEN }}
|
||||
EVENT_TYPE: $GITHUB_EVENT_NAME
|
||||
|
||||
jobs:
|
||||
add_card_to_project:
|
||||
runs-on: ubuntu-latest
|
||||
name: Add Card to Project(s)
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Get Event Type
|
||||
run: echo $GITHUB_EVENT_NAME
|
||||
- name: Assign NEW issues to project 1
|
||||
uses: ./.github/actions/add-card-to-project
|
||||
if: github.event_name == 'issues' && github.event.action == 'opened'
|
||||
with:
|
||||
project: "https://github.com/orgs/lensapp/projects/1"
|
||||
column_name: "Backlog"
|
||||
card_position: "bottom"
|
||||
- name: Assign NEW pull requests to project 1
|
||||
uses: ./.github/actions/add-card-to-project
|
||||
if: github.event_name == 'pull_request_target' && github.event.action == 'opened'
|
||||
with:
|
||||
project: "https://github.com/orgs/lensapp/projects/1"
|
||||
column_name: "PRs"
|
||||
card_position: "bottom"
|
||||
Reference in new issue
Block a user