File tree Expand file tree Collapse file tree 2 files changed +56
-0
lines changed Expand file tree Collapse file tree 2 files changed +56
-0
lines changed Original file line number Diff line number Diff line change 1+ # This is a basic workflow to help you get started with Actions
2+
3+ name : CI
4+
5+ # Controls when the workflow will run
6+ on :
7+ # Triggers the workflow on push or pull request events but only for the "main" branch
8+ push :
9+ branches :
10+ - main
11+
12+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
13+ jobs :
14+ # This workflow contains a single job called "build"
15+ latest :
16+ # The type of runner that the job will run on
17+ runs-on : ubuntu-latest
18+
19+ # Steps represent a sequence of tasks that will be executed as part of the job
20+ steps :
21+ - name : Checkout
22+ uses : actions/checkout@v3
23+
24+ - name : Run latest-tag
25+ uses : EndBug/latest-tag@latest
26+
27+
Original file line number Diff line number Diff line change 1+ # This is a basic workflow to help you get started with Actions
2+
3+ name : CI
4+
5+ # Controls when the workflow will run
6+ on :
7+ pull_request :
8+ types : [ closed ]
9+ branches :
10+ - main
11+
12+
13+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
14+ jobs :
15+ # This workflow contains a single job called "build"
16+ latest :
17+ # The type of runner that the job will run on
18+ runs-on : ubuntu-latest
19+
20+ # Steps represent a sequence of tasks that will be executed as part of the job
21+ steps :
22+ - name : Checkout
23+ if : github.event.pull_request.merged == true
24+ uses : actions/checkout@v3
25+
26+ - name : Run latest-tag
27+ if : github.event.pull_request.merged == true
28+ uses : EndBug/latest-tag@latest
29+
You can’t perform that action at this time.
0 commit comments