From 490e361aeb6d4445aa2642f9c015d5cabe29e00f Mon Sep 17 00:00:00 2001 From: Sumanth Lingappa Date: Thu, 22 Feb 2024 13:37:58 +0530 Subject: [PATCH] updated the workflows Signed-off-by: Sumanth Lingappa --- .github/workflows/ah_token_refresh.yml | 2 +- .github/workflows/test.yml | 15 ++++++--------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ah_token_refresh.yml b/.github/workflows/ah_token_refresh.yml index ecd109b01..e0ca03721 100644 --- a/.github/workflows/ah_token_refresh.yml +++ b/.github/workflows/ah_token_refresh.yml @@ -1,7 +1,7 @@ --- name: Refresh the automation hub token # the token expires every 30 days, so we need to refresh it -"on": +on: schedule: - cron: "0 12 1,15 * *" # run 12pm on the 1st and 15th of the month workflow_dispatch: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5dc56a1b2..7a2b2b780 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,16 +3,13 @@ name: ansible-test on: workflow_dispatch: pull_request: - paths-ignore: - - 'docs/**' - - '**/*.md' - - 'examples/**' + paths: + - plugins/** + - tests/** push: - paths-ignore: - - 'docs/**' - - '**/*.md' - - 'examples/**' - + paths: + - plugins/** + - tests/** jobs: ansible-galaxy-importer: name: ansible-galaxy-importer