feat(*): Add test_command input and exclude release tagged tests for pull request #251
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Disable checkout test | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- "**.md" | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
schedule: | |
- cron: "25 08 * * THU" | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
disable-checkout-test: | |
name: Disable checkout test | |
runs-on: ubuntu-latest | |
env: | |
ADD_ON: JanoPL/ddev-kibana | |
ADD_ON_REF: v1.4.0 | |
DDEV_VERSION: stable | |
steps: | |
- name: Clone current repository | |
uses: actions/checkout@v4 | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
repository: ${{ env.ADD_ON }} | |
ref: ${{ env.ADD_ON_REF }} | |
path: tested-addon | |
submodules: "true" | |
- name: Run add-on test | |
uses: ./ | |
with: | |
ddev_version: ${{ env.DDEV_VERSION }} | |
token: ${{ secrets.GITHUB_TOKEN }} | |
addon_repository: ${{ env.ADD_ON }} | |
addon_ref: ${{ env.ADD_ON_REF }} | |
addon_path: tested-addon | |
keepalive: false | |
disable_checkout_action: true |