Skip to content

Commit f7cb1a0

Browse files
Move to official github action for project issue automation (zarf-dev#653)
* Changing to use the github action for this workflow Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Wayne Starr <me@racer159.com>
1 parent 1f353c5 commit f7cb1a0

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

.github/workflows/auto-assign-to-project.yml

+6-14
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,14 @@ on:
44
types:
55
- opened
66

7-
# map fields with customized labels
8-
env:
9-
todo: New Requests
10-
117
jobs:
12-
issue_opened:
13-
name: issue_opened
8+
add-to-project:
9+
name: Add issue to project
1410
runs-on: ubuntu-latest
1511
if: github.event_name == 'issues' && github.event.action == 'opened'
1612
steps:
17-
- name: Move issue to ${{ env.todo }}
18-
uses: leonsteinhaeuser/project-beta-automations@v1.2.1
13+
- name: Move issue to Zarf Project
14+
uses: actions/add-to-project@v0.3.0
1915
with:
20-
gh_token: ${{ secrets. ZARF_ORG_PROJECT_TOKEN }}
21-
# user: sample-user
22-
organization: defenseunicorns
23-
project_id: 1
24-
resource_node_id: ${{ github.event.issue.node_id }}
25-
status_value: ${{ env.todo }} # Target status
16+
project-url: https://github.com/orgs/defenseunicorns/projects/1
17+
github-token: ${{ secrets. ZARF_ORG_PROJECT_TOKEN }}

0 commit comments

Comments
 (0)