From 474594fb9af956e0f84af82a3d6b8d7180ef298c Mon Sep 17 00:00:00 2001 From: Tom Page Date: Wed, 18 Jan 2023 10:33:23 +0000 Subject: [PATCH 1/2] Create update_pre_commit.yml --- .github/workflows/update_pre_commit.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/update_pre_commit.yml diff --git a/.github/workflows/update_pre_commit.yml b/.github/workflows/update_pre_commit.yml new file mode 100644 index 00000000..0e1d8a59 --- /dev/null +++ b/.github/workflows/update_pre_commit.yml @@ -0,0 +1,19 @@ + +--- +# This workflow action will run pre-commit, which will execute ansible and yaml linting +# See .pre-commit-config.yaml for what hooks are executed +name: Update pre-commit configuration + + +on: + schedule: + - cron: "0 5 * * *" + +jobs: + pre-commit: + uses: "redhat-cop/ansible_collections_tooling/.github/workflows/update_precommit.yml@main" + with: + github_actor: ${{ github.actor }} + secrets: + token: ${{ secrets.GITHUB_TOKEN }} +... From 7f7013e6baf42043b954895b2b8991a023f0ee42 Mon Sep 17 00:00:00 2001 From: Tom Page Date: Wed, 18 Jan 2023 10:49:40 +0000 Subject: [PATCH 2/2] Update update_pre_commit.yml --- .github/workflows/update_pre_commit.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/update_pre_commit.yml b/.github/workflows/update_pre_commit.yml index 0e1d8a59..edbd0527 100644 --- a/.github/workflows/update_pre_commit.yml +++ b/.github/workflows/update_pre_commit.yml @@ -1,4 +1,3 @@ - --- # This workflow action will run pre-commit, which will execute ansible and yaml linting # See .pre-commit-config.yaml for what hooks are executed