mirror of
https://github.com/actualbudget/actual.git
synced 2026-05-10 16:26:43 -05:00
* Run `zizmor` auto-fix tool * Add release notes * Enable credential persistence for string extraction Updated workflow to allow pushing extracted strings. * Enable credential persistence for release notes Enable credential persistence to allow committing release notes.
31 lines
812 B
YAML
31 lines
812 B
YAML
name: Count points
|
|
|
|
on:
|
|
schedule:
|
|
# Run at 00:00 on the first day of every month
|
|
- cron: '0 0 1 * *'
|
|
workflow_dispatch:
|
|
inputs:
|
|
startDate:
|
|
description: 'Start date for point counter (YYYY-MM-DD)'
|
|
required: true
|
|
type: string
|
|
|
|
jobs:
|
|
count-points:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
persist-credentials: false
|
|
- name: Set up environment
|
|
uses: ./.github/actions/setup
|
|
with:
|
|
download-translations: 'false'
|
|
- name: Count points
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
START_DATE: ${{ inputs.startDate }}
|
|
run: node .github/scripts/count-points.mjs
|