-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathaction.yml
More file actions
27 lines (27 loc) · 955 Bytes
/
action.yml
File metadata and controls
27 lines (27 loc) · 955 Bytes
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
# https://docs.github.com/en/actions/creating-actions/creating-a-composite-action
name: "Clean custom"
description: "Custom clean step to run after PR is closed"
# this inputs are always provided by flowzone, so they must always be defined on the composite action
inputs:
json:
description: "JSON stringified object containing all the inputs from the calling workflow"
required: true
secrets:
description: "JSON stringified object containing all the secrets from the calling workflow"
required: true
variables:
description: "JSON stringified object containing all the variables from the calling workflow"
required: true
runs:
using: "composite"
steps:
- name: Dump context
shell: bash
env:
GITHUB: ${{ toJSON(github) }}
INPUTS: ${{ inputs.json }}
VARIABLES: ${{ toJSON(inputs.variables) }}
run: |
echo "${GITHUB}"
echo "${INPUTS}"
echo "${VARIABLES}"