Skip to content

Update add_to_project.yml #7

Update add_to_project.yml

Update add_to_project.yml #7

name: Add new issue or pull request to sl1 project
on:
issues:
types:
- opened
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
add-to-project:
name: Add issue or pull request to project
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
token: ${{ secrets.ADD_TO_PROJECT_PAT }}
- name: Debug Secrets
run: echo "Secret is: ${{ secrets.ADD_TO_PROJECT_PAT }}"

Check failure on line 23 in .github/workflows/add_to_project.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/add_to_project.yml

Invalid workflow file

You have an error in your yaml syntax on line 23
env:
ADD_TO_PROJECT_PAT: ${{ secrets.ADD_TO_PROJECT_PAT }}
- name: Add to project
uses: actions/add-to-project@v0.5.0
with:
project-url: https://github.com/orgs/openMSL/projects/1
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}