From 612c41ae5447fe6cc55da26769a11a283d9a906a Mon Sep 17 00:00:00 2001 From: Une Sofie Kinn Ekroll Date: Mon, 16 Sep 2024 19:19:17 +0200 Subject: [PATCH] ci: add a "Test reports" workflow (#2427) This is just a placeholder workflow, the actual contents of the workflow will be populated in #2400. But [the workflow dispatch GUI](https://github.com/digdir/designsystemet/actions/workflows/test-reports.yml) (and `gh workflow run` CLI) only works if the workflow file is already present on the default branch. --- .github/workflows/test-reports.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/test-reports.yml diff --git a/.github/workflows/test-reports.yml b/.github/workflows/test-reports.yml new file mode 100644 index 0000000000..dd61c60069 --- /dev/null +++ b/.github/workflows/test-reports.yml @@ -0,0 +1,23 @@ +name: Test reports +on: + workflow_dispatch: + inputs: + calling_workflow_id: + required: true + calling_workflow_run_id: + required: true + calling_workflow_head_sha: + required: true + +permissions: + checks: write + pull-requests: write + +jobs: + checks: + runs-on: ubuntu-latest + steps: + # This is just a placeholder workflow, the actual contents of the workflow will be populated in + # another pull request. But https://github.com/digdir/designsystemet/actions/workflows/test-reports.yml + # only works if the workflow file is already present on the default branch + - run: echo "Hello, dummy workflow"