This repository has been archived by the owner on Jun 3, 2024. It is now read-only.
Add a rule for SRLabs audits #7
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: GitHub Issue Sync | |
on: | |
issues: | |
types: | |
- opened | |
workflow_dispatch: | |
inputs: | |
excludeClosed: | |
description: 'Exclude closed issues in the sync.' | |
type: boolean | |
default: true | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Generate token | |
id: generate_token | |
uses: tibdex/github-app-token@v1 | |
with: | |
app_id: ${{ secrets.PROJECT_APP_ID }} | |
private_key: ${{ secrets.PROJECT_APP_KEY }} | |
- name: Sync issues | |
uses: paritytech/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
PROJECT_TOKEN: ${{ steps.generate_token.outputs.token }} | |
project: 16 | |
project_field: Tool | |
project_value: pr-custom-review |