diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index 46134b9..5e5fd3c 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -60,7 +60,7 @@ jobs: ddev exec php -v - name: Clone sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: ${{env.EXTENSION_PATH}} diff --git a/.github/workflows/keepalive.yml b/.github/workflows/keepalive.yml new file mode 100644 index 0000000..3f92278 --- /dev/null +++ b/.github/workflows/keepalive.yml @@ -0,0 +1,26 @@ +name: Keep Alive +on: + + schedule: + - cron: '0 3 * * 4' + +permissions: + actions: write + +jobs: + keep-alive: + + name: Keep Alive + runs-on: ubuntu-latest + + steps: + + - name: Clone project files + uses: actions/checkout@v4 + + # keepalive-workflow keeps GitHub from turning off tests after 60 days + - uses: gautamkrishnar/keepalive-workflow@v2 + with: + time_elapsed: 45 + workflow_files: "unit-and-integration-test.yml" + diff --git a/.github/workflows/unit-and-integration-test.yml b/.github/workflows/unit-and-integration-test.yml index ec86f95..5325374 100644 --- a/.github/workflows/unit-and-integration-test.yml +++ b/.github/workflows/unit-and-integration-test.yml @@ -15,6 +15,8 @@ on: type: boolean description: Run Integration tests default: true + schedule: + - cron: '15 3 * * 4' permissions: contents: read @@ -63,7 +65,7 @@ jobs: ddev exec php -v - name: Clone sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: ${{env.EXTENSION_PATH}}