From 6712bee21b42dded2abe4bccb46d063757b28cfb Mon Sep 17 00:00:00 2001 From: Samuel Wright Date: Tue, 26 Aug 2025 10:07:24 +0200 Subject: [PATCH 1/3] Test cron action for updating FLS --- .github/workflows/update-fls.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/update-fls.yaml diff --git a/.github/workflows/update-fls.yaml b/.github/workflows/update-fls.yaml new file mode 100644 index 0000000..1bae9ae --- /dev/null +++ b/.github/workflows/update-fls.yaml @@ -0,0 +1,22 @@ +name: Update FLS +on: + schedule: + - cron: "05 0 * * *" + workflow_dispatch: +jobs: + runs-on: ubuntu-latest + steps: + - name: Check out the repo + uses: actions/checkout@v2 + - name: Update FLS + uses: ./make.py --update-spec-lock-file + - name: Create Pull Request + uses: peter-evans/create-pull-request@v4 + with: + commit-message: Cloud - Update available list + title: Update FLS (automated PR) + body: Update FLS (automated PR) + base: main + labels: automated-pr + branch: update-fls + delete-branch: true From 1c24e1b1e53f05925c570a184c7ba5dc0ff1e88d Mon Sep 17 00:00:00 2001 From: Samuel Wright Date: Tue, 26 Aug 2025 10:22:21 +0200 Subject: [PATCH 2/3] Fix it all --- .github/workflows/update-fls.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/update-fls.yaml b/.github/workflows/update-fls.yaml index 1bae9ae..6c159a5 100644 --- a/.github/workflows/update-fls.yaml +++ b/.github/workflows/update-fls.yaml @@ -2,17 +2,17 @@ name: Update FLS on: schedule: - cron: "05 0 * * *" - workflow_dispatch: jobs: - runs-on: ubuntu-latest - steps: - - name: Check out the repo - uses: actions/checkout@v2 - - name: Update FLS - uses: ./make.py --update-spec-lock-file - - name: Create Pull Request - uses: peter-evans/create-pull-request@v4 - with: + update-fls: + runs-on: ubuntu-latest + steps: + - name: Check out the repo + uses: actions/checkout@v2 + - name: Update FLS + uses: ./make.py --update-spec-lock-file + - name: Create Pull Request + uses: peter-evans/create-pull-request@v4 + with: commit-message: Cloud - Update available list title: Update FLS (automated PR) body: Update FLS (automated PR) From 2c4c1f9a5f80a6767e82589cd5fc7ca890948a7d Mon Sep 17 00:00:00 2001 From: Samuel Wright Date: Tue, 26 Aug 2025 10:24:49 +0200 Subject: [PATCH 3/3] Manual option for testing --- .github/workflows/update-fls.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/update-fls.yaml b/.github/workflows/update-fls.yaml index 6c159a5..60c3324 100644 --- a/.github/workflows/update-fls.yaml +++ b/.github/workflows/update-fls.yaml @@ -2,6 +2,7 @@ name: Update FLS on: schedule: - cron: "05 0 * * *" + workflow_dispatch: jobs: update-fls: runs-on: ubuntu-latest