Skip to content

Project automations #12

Project automations

Project automations #12

name: Project automations
on:
issues:
types:
- opened
- reopened
# map fields with customized labels
env:
new: NEW
jobs:
issue_opened_or_reopened:
name: issue_opened_or_reopened
runs-on: ubuntu-latest
if: github.event_name == 'issues' && (github.event.action == 'opened' || github.event.action == 'reopened')
steps:
- name: Move issue to ${{ env.new }}
uses: leonsteinhaeuser/project-beta-automations@v2.0.0
with:
gh_token: ${{ secrets.GITHUB_TOKEN }}
organization: scylladb
project_id: 13
resource_node_id: ${{ github.event.issue.node_id }}
status_value: ${{ env.new }} # Target status