forked from CybercentreCanada/clue
-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (50 loc) · 1.1 KB
/
Copy pathexample-plugin-workflow.yml
File metadata and controls
53 lines (50 loc) · 1.1 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Clue Example Plugin
on:
push:
branches:
- main
- develop
- rc/*
- patch/*
paths:
- plugins/example/**
- .github/workflows/example-plugin-workflow.yml
- .github/workflows/*-plugin.yml
tags:
- v*
pull_request:
branches:
- main
- develop
- rc/*
- patch/*
paths:
- plugins/example/**
- .github/workflows/example-plugin-workflow.yml
- .github/workflows/*-plugin.yml
workflow_dispatch: {}
workflow_run:
workflows:
- Clue Base Plugin Image
types:
- completed
permissions:
contents: read
pull-requests: write
jobs:
check-example-plugin-formatting:
name: Lint Example Plugin
uses: ./.github/workflows/lint-plugin.yml
with:
plugin-path: plugins/example
build-example-plugin:
needs: check-example-plugin-formatting
name: Build Example Plugin's Docker Image
uses: ./.github/workflows/build-plugin.yml
with:
plugin-path: plugins/example
permissions:
id-token: write
contents: read
attestations: write
secrets: inherit