-
Notifications
You must be signed in to change notification settings - Fork 91
35 lines (32 loc) · 1.02 KB
/
ci_branch.yml
File metadata and controls
35 lines (32 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
name: CI (branch)
# This workflow is triggered manually and can be used to test workflow changes on a branch (which aren't picked up by the pr-bot builds)
on:
workflow_dispatch:
inputs:
prNumber:
description: set to the PR number if testing a branch for a PR (used to derive the image tag)
default: ''
type: string
required: false
runFullTests:
description: tick to run the full tests, untick to run tests without credentials
default: true
type: boolean
required: false
permissions:
contents: write
packages: write
pull-requests: write
checks: write
jobs:
build-test-publish:
name: "Build, test, publish"
uses: ./.github/workflows/ci_common.yml
with:
release: false
prNumber: ${{ github.event.inputs.prNumber }}
# despite the runFullTests input being a boolean, we seem to get a string below!
runFullTests: ${{ github.event.inputs.runFullTests == 'true' }}
secrets:
AZDO_TOKEN: ${{ secrets.AZDO_TOKEN }}