Intended to be used to set a default board for all new issues to automatically be added to. Currently only works with Project (Classic)
, not modern GitHub projects.
name: "Default Project"
on:
issues:
types:
- opened
jobs:
add_to_project:
runs-on: ubuntu-latest
steps:
- uses: skeet70/default-project-board-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.repository }}
issue: ${{ github.event.issue.number }}
project: 1
project
could be set to any project number, found in the slug when you view your project on github.
GitHub Actions will run the entry point from the action.yml. Packaging assembles the code into one file that can be checked in to Git, enabling fast and reliable execution and preventing the need to check in node_modules.
Actions are run from GitHub repos. Packaging the action will create a packaged action in the dist folder.
Run package
npm run package
Since the packaged index.js is run from the dist folder.
git add dist