Skip to content

build: bump mongodb from 6.8.0 to 6.8.1 (#902) #1480

build: bump mongodb from 6.8.0 to 6.8.1 (#902)

build: bump mongodb from 6.8.0 to 6.8.1 (#902) #1480

Workflow file for this run

name: App Stats

Check failure on line 1 in .github/workflows/app-stats.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/app-stats.yml

Invalid workflow file

invalid `cron` attribute "0 6 0 * *"
on:
schedule:
- cron: '0 6 0 * *'
jobs:
log:
runs-on: ubuntu-latest
steps:
- name: 'Checkout sources'
uses: actions/checkout@v4
- name: 'Collect stats'
uses: gr2m/[email protected]
id: stats
with:
id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.PRIVATE_KEY }}
- run: "echo '{\"installations\": ${{ steps.stats.outputs.installations }}, \"repositories\": ${{ steps.stats.outputs.repositories }}, \"suspended\": ${{ steps.stats.outputs.suspended_installations }}, \"popular\": ${{ steps.stats.outputs.popular_repositories }} }' > public/stats.json"
- name: 'Commit Action Installation Statistics'
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add public/stats.json
git commit -m "Build by GitHub Actions" || true
if: job.status == 'success'
- name: 'Update repo'
run: git pull --no-rebase
- name: 'Push changes'
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
if: job.status == 'success'