diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e77967b..1a1278d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,19 +2,22 @@ name: Test collection concurrency: - group: ${{ github.head_ref }} + group: ${{ github.head_ref || github.run_id }} cancel-in-progress: true on: # yamllint disable-line rule:truthy pull_request: branches: [main] workflow_dispatch: + schedule: + - cron: '0 0 * * *' jobs: ansible-lint: uses: ansible-network/github_actions/.github/workflows/ansible-lint.yml@main changelog: uses: ansible-network/github_actions/.github/workflows/changelog.yml@main + if: github.event_name != 'schedule' sanity: uses: ansible-network/github_actions/.github/workflows/sanity.yml@main unit-galaxy: @@ -26,7 +29,7 @@ jobs: git+https://github.com/ansible-collections/ansible.utils.git git+https://github.com/ansible-collections/ansible.netcommon.git all_green: - if: ${{ always() }} + if: ${{ always() && (github.event_name != 'schedule') }} needs: - ansible-lint - changelog diff --git a/changelogs/fragments/add_gha_periodic.yaml b/changelogs/fragments/add_gha_periodic.yaml new file mode 100644 index 0000000..7a6c90c --- /dev/null +++ b/changelogs/fragments/add_gha_periodic.yaml @@ -0,0 +1,3 @@ +--- +trivial: + - Enable nightly GHA runs. diff --git a/galaxy.yml b/galaxy.yml index 57ac539..b483eb5 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -11,4 +11,4 @@ readme: README.md description: Ansible Collection for Free Range Routing (FRR). repository: https://github.com/ansible-collections/frr.frr issues: https://github.com/ansible-collections/frr.frr/issues -version: "2.0.2" +version: "2.0.3-dev"