From e28d63d84f7fad3c123e8306bd0674f03ff9602d Mon Sep 17 00:00:00 2001 From: Ryo Nakano Date: Sat, 12 Jul 2025 23:58:29 +0900 Subject: [PATCH] Actions: Commit as elementaryBot --- .github/workflows/flatpak-x-checker.yml | 26 +++++++++++-------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/.github/workflows/flatpak-x-checker.yml b/.github/workflows/flatpak-x-checker.yml index 4db5632..11aa51c 100644 --- a/.github/workflows/flatpak-x-checker.yml +++ b/.github/workflows/flatpak-x-checker.yml @@ -1,26 +1,22 @@ -name: Flatpak Manifest +name: Check for updates on: - schedule: - - cron: '0 0 * * 1' # run weekly + schedule: # for scheduling to work this file must be in the default branch + - cron: "0 0 * * 1" # run weekly workflow_dispatch: # can be manually dispatched under GitHub's "Actions" tab jobs: flatpak-external-data-checker: - name: Check for updates runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Update stable manifest - uses: docker://ghcr.io/flathub/flatpak-external-data-checker:latest + - uses: actions/checkout@v4 + - uses: docker://ghcr.io/flathub/flatpak-external-data-checker:latest env: - GIT_AUTHOR_NAME: github-actions[bot] - GIT_COMMITTER_NAME: github-actions[bot] - # email sets "github-actions[bot]" as commit author, see https://github.com/orgs/community/discussions/26560 - GIT_AUTHOR_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com - GIT_COMMITTER_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GIT_AUTHOR_NAME: elementaryBot + GIT_COMMITTER_NAME: elementaryBot + GIT_AUTHOR_EMAIL: builds@elementary.io + GIT_COMMITTER_EMAIL: builds@elementary.io + EMAIL: builds@elementary.io + GITHUB_TOKEN: ${{ secrets.GIT_USER_TOKEN }} with: args: --update --never-fork com.github.ryonakano.atlas.yml