Avoid running malicious inputs as shell commands in the GitHub Actions #440
Workflow file for this run
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: Add all new issues and PRs to the Automata board. | |
on: | |
issues: | |
types: | |
- opened | |
- transferred | |
pull_request: | |
types: | |
- opened | |
# Leverage project write access for dependabot. | |
permissions: | |
repository-projects: write | |
jobs: | |
add-to-project: | |
name: Add issue/PR to project | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/add-to-project@v0.4.0 | |
with: | |
project-url: https://github.com/orgs/woocommerce/projects/119 | |
github-token: ${{ secrets.BOT_GH_TOKEN }} |