-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2a047ef
commit aa3413f
Showing
1 changed file
with
35 additions
and
35 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,44 @@ | ||
name: Polarify | ||
# name: Polarify | ||
|
||
# Example action of how to use the polarsource/actions/polarify action and auto-commiting the results to the repository. | ||
# # Example action of how to use the polarsource/actions/polarify action and auto-commiting the results to the repository. | ||
|
||
on: | ||
# Run after every push | ||
push: | ||
branches: ["main"] | ||
# on: | ||
# # Run after every push | ||
# push: | ||
# branches: ["main"] | ||
|
||
# Hourly | ||
schedule: | ||
- cron: "0 * * * *" | ||
# # Hourly | ||
# schedule: | ||
# - cron: "0 * * * *" | ||
|
||
# Allow to trigger manually from the GitHub Actions Web UI | ||
workflow_dispatch: {} | ||
# # Allow to trigger manually from the GitHub Actions Web UI | ||
# workflow_dispatch: {} | ||
|
||
jobs: | ||
polarify: | ||
name: "Polarify" | ||
timeout-minutes: 15 | ||
runs-on: ubuntu-22.04 | ||
# jobs: | ||
# polarify: | ||
# name: "Polarify" | ||
# timeout-minutes: 15 | ||
# runs-on: ubuntu-22.04 | ||
|
||
permissions: | ||
# Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository. | ||
contents: write | ||
# permissions: | ||
# # Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository. | ||
# contents: write | ||
|
||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.PAT_EYEGESTURES }} | ||
# steps: | ||
# - name: Check out code | ||
# uses: actions/checkout@v4 | ||
# with: | ||
# token: ${{ secrets.PAT_EYEGESTURES }} | ||
|
||
- name: Polarify | ||
uses: polarsource/actions/polarify@main | ||
with: | ||
path: "README.md" | ||
env: | ||
POLAR_API_TOKEN: ${{ secrets.POLAR_API_TOKEN }} | ||
# - name: Polarify | ||
# uses: polarsource/actions/polarify@main | ||
# with: | ||
# path: "README.md" | ||
# env: | ||
# POLAR_API_TOKEN: ${{ secrets.POLAR_API_TOKEN }} | ||
|
||
- uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
token: ${{ secrets.PAT_EYEGESTURES }} | ||
commit_message: Update polar comments | ||
branch: main | ||
# - uses: stefanzweifel/git-auto-commit-action@v5 | ||
# with: | ||
# token: ${{ secrets.PAT_EYEGESTURES }} | ||
# commit_message: Update polar comments | ||
# branch: main |