Skip to content

Commit

Permalink
chore: add github-sync-issue (#4281)
Browse files Browse the repository at this point in the history
  • Loading branch information
hardfist authored Oct 4, 2023
1 parent 3b44737 commit ba66d22
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/github-issue-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: GitHub Issue Sync

workflow_dispatch:
inputs:
excludeClosed:
description: "Exclude closed issues in the sync."
type: boolean
default: true

jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Sync issues
uses: paritytech/github-issue-sync@master
with:
# This token is autogenerated by GitHub
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# This is a Personal Access Token and it needs to have the following permissions
# - "read:org": used to read the project's board
# - "write:org": used to assign issues to the project's board
PROJECT_TOKEN: ${{ secrets.PROJECT_TOKEN }}
# The number of the project which the issues will be synced to
# You can find this in https://github.com/orgs/@ORGANIZATION/projects/<NUMBER>
project: 12
# Optional, the project field to modify with a new value
# Found more in https://docs.github.com/en/issues/planning-and-tracking-with-projects/understanding-fields/about-single-select-fields
project_field: Status
# Optional unless that project_field was set up. Then this field is required.
# The value to modify in the project field
project_value: 🆕 New
# Optional, labels to work with. Read below to see how to configure it.
# If this value is set, the action will be applied only to issues with such label(s).

0 comments on commit ba66d22

Please sign in to comment.