2022-12-20 23:59:39 +08:00
|
|
|
name: e2e tests
|
2022-12-15 20:47:58 +08:00
|
|
|
|
2022-12-08 20:27:13 +08:00
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
paths-ignore:
|
|
|
|
- '**.md'
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
- releases/*
|
|
|
|
paths-ignore:
|
|
|
|
- '**.md'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
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 21:24:45 +08:00
|
|
|
run: echo ${{ format('{0},{1}', toJSON(steps.stale.outputs.staled-issues-prs), toJSON(steps.stale.outputs.closed-issues-prs)) }}
|