2022-12-08 13:27:13 +01:00
name : Build & Test
2022-12-15 13:47:58 +01:00
2022-12-08 13:27:13 +01:00
on :
pull_request :
paths-ignore :
- '**.md'
push :
branches :
- main
- releases/*
paths-ignore :
- '**.md'
jobs :
2022-12-15 16:22:18 +01:00
call-basic-validation: # The reusable workflow can be found here : https://github.com/actions/reusable-workflows/blob/main/.github/workflows/basic-validation.yml
2022-12-15 13:47:58 +01:00
name : Basic validation
2022-12-19 14:13:43 +01:00
uses : actions/reusable-workflows/.github/workflows/basic-validation.yml@main
2022-12-08 14:14:09 +01:00
2022-12-08 13:27:13 +01:00
dry-run-test : # make sure the action works on a clean machine without building
runs-on : ubuntu-latest
steps :
- uses : actions/checkout@v3
- uses : ./
id : stale
with :
stale-issue-message : 'This issue is stale'
stale-pr-message : 'This PR is stale'
debug-only : true
- name : Print outputs
2022-12-19 14:24:45 +01:00
run : echo ${{ format('{0},{1}', toJSON(steps.stale.outputs.staled-issues-prs), toJSON(steps.stale.outputs.closed-issues-prs)) }}