Skip to content

fix: ci actions

fix: ci actions #75

name: Project automations
on:
issues:
types:
- opened
pull_request_target:
pull_request:
jobs:
issue_opened:
name: issue_opened
runs-on: ubuntu-latest
if: github.event_name == 'issues' && github.event.action == 'opened'
steps:
- name: 'Move issue to Todo'
uses: leonsteinhaeuser/project-beta-automations@v2.1.0
with:
gh_app_ID: ${{ vars.GH_APP_ID }}
gh_app_installation_ID: ${{ vars.GH_APP_INSTALLATION_ID }}
gh_app_secret_key: ${{ vars.PROJECT_ID }}
project_id: ${{ vars.PROJECT_ID }}
user: leonsteinhaeuser
resource_node_id: ${{ github.event.issue.node_id }}
status_value: "Todo"
pr_opened:
name: pr_opened
runs-on: ubuntu-latest
if: github.event_name == 'pull_request' && github.event.action == 'opened'
steps:
- name: 'Move PR to "In Progress"'
uses: leonsteinhaeuser/project-beta-automations@v2.1.0
with:
gh_app_ID: ${{ vars.GH_APP_ID }}
gh_app_installation_ID: ${{ vars.GH_APP_INSTALLATION_ID }}
gh_app_secret_key: ${{ vars.PROJECT_ID }}
project_id: ${{ vars.PROJECT_ID }}
user: leonsteinhaeuser
resource_node_id: ${{ github.event.pull_request.node_id }}
status_value: "In Progress"