Skip to content

Commit

Permalink
template yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zen0bit committed Apr 11, 2024
1 parent 2c202ab commit 73cfdd4
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
- uses: poll-github-repo/action@v1
with:
# Repository you want to track
# Must have a format "owner/repo" (like "facebook/react")
repo-to-sync: owner/repo

# Path to the file in <repo-to-sync> that you want to track
path-to-sync: CHANGELOG.md

# Path to a local file that stores timestamps of the last check in ISO format.
# This is required to check only a small subset of changes on every run.
# NOTE: this file MUST exist before the action runs
# 2022-03-18T00:33:40Z is an example of what it could contain
cache-path: .sync/CHANGELOG.md.last-sync

# Label that is added to every created issue
tracking-issue-label: upstream-changelog-md

# Template for tracking issue title (see available placeholders below)
tracking-issue-title: "Update on {{ path }}: {{ sha-short }}"

# Template for tracking issue body (see available placeholders below)
tracking-issue-body: |
New commit in owner/repo:
**{{ message }}** [link]({{ url }})
token: ${{ secrets.GITHUB_TOKEN }}
yes-create-issues: true
# GitHub token
#
# You can use ${{ secrets.GITHUB_TOKEN }} to create issues/commits
# using `github-actions` account.
#
# Of course, you can generate and pass token
# of your own GitHub bot if you want to
token: ${{ secrets.GITHUB_TOKEN }}

# Special boolean flag that simplifies initial setup
#
# When set to `false` the action doesn't do any issues/commit creation,
# but it still prints what would be created
#
# Configure everything, make sure it does what expected and set it to `true`
yes-create-issues: false

0 comments on commit 73cfdd4

Please sign in to comment.