Skip to content

Commit

Permalink
fix polarify
Browse files Browse the repository at this point in the history
  • Loading branch information
birkjernstrom committed Feb 1, 2024
1 parent 9b1cc7c commit 95c1671
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions .github/workflows/polarify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,39 +3,39 @@ name: Polarify
# 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"]
# 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

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@v3

- 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@v4
with:
commit_message: Update polar comments
branch: main
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

steps:
- name: Check out code
uses: actions/checkout@v3

- 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@v4
with:
commit_message: Update polar comments
branch: main

0 comments on commit 95c1671

Please sign in to comment.