Project automations #12
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
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 |