Skip to content

Instantly share code, notes, and snippets.

@Sealjay
Created September 21, 2021 14:36
Show Gist options
  • Save Sealjay/a3b3848342fef7d279bb85d63e033927 to your computer and use it in GitHub Desktop.
Save Sealjay/a3b3848342fef7d279bb85d63e033927 to your computer and use it in GitHub Desktop.
github-actions - pull requests and issues
name: Issues and work tracking
on:
workflow_dispatch:
push:
branches:
- main
paths-ignore:
- "docs/**"
- "nextmind-robot-telepresence/Library/PackageCache/**"
- "nextmind-robot-telepresence/Library/ScriptAssemblies/**"
jobs:
todos:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Create Issues for Todos in Python Code
uses: ribtoks/tdg-github-action@master
with:
TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO: ${{ github.repository }}
SHA: ${{ github.sha }}
REF: ${{ github.ref }}
INCLUDE_PATTERN: "\\.(py)$"
name: Pull request tracking
on:
pull_request:
branches:
- main
types:
- opened
jobs:
add_to_project:
runs-on: ubuntu-latest
steps:
- uses: AdityaGovardhan/ga-pull-requests-projects@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.repository }}
pull_request: ${{ github.event.pull_request.number }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment