Skip to content

Commit 5b6a40f

Browse files
danikunmknet3
andauthored
release workflow (#7)
* release workflow * fix format * on push * checkout first * install scoop * install as admin * no execution policy * install in same step * as admin * install hub * adding upstream * dev-cloud: Update to version 2.17.1 * revert * pull request * naming pull request * adding steps * move get latest * using tag name * add code owners * add empty line * fix owner team * Update CODEOWNERS * removing excavator as it's not needed --------- Co-authored-by: Manuel Cañete <[email protected]>
1 parent 3595b38 commit 5b6a40f

File tree

3 files changed

+34
-20
lines changed

3 files changed

+34
-20
lines changed

.github/workflows/excavator.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
on:
2+
workflow_dispatch:
3+
release:
4+
types:
5+
- published
6+
7+
name: Update release
8+
9+
jobs:
10+
update:
11+
name: update
12+
runs-on: windows-latest
13+
steps:
14+
- name: "Get latest release"
15+
id: latest
16+
uses: gregziegan/[email protected]
17+
18+
- name: Checkout
19+
uses: actions/checkout@main
20+
21+
- name: Update manifests
22+
env:
23+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
24+
run: |
25+
iex "& {$(irm get.scoop.sh)} -RunAsAdmin"
26+
.\bin\checkver.ps1 * -u
27+
28+
- name: Create pull request
29+
uses: peter-evans/create-pull-request@v5
30+
with:
31+
branch: "manifests/${{ steps.latest.outputs.tag_name }}"
32+
title: "Update manifests to version ${{ steps.latest.outputs.tag_name }}"
33+
body: ""

CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @DocPlanner/team-testplanner

0 commit comments

Comments
 (0)