Skip to content

Commit a7f5de5

Browse files
authored
Merge pull request #58 from oblivioncth/dev
Merge to master for v0.7.5.3
2 parents 9fef6f7 + 3ec58d4 commit a7f5de5

34 files changed

+422
-506
lines changed

.github/release.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,23 @@
11
changelog:
22
exclude:
33
labels:
4-
- release-pr
4+
- release
5+
- common-sync
6+
authors:
7+
- oby-bot
58
categories:
9+
- title: Breaking Changes
10+
labels:
11+
- breaking
612
- title: New Features
713
labels:
814
- enhancement
915
- title: Bug Fixes
1016
labels:
1117
- bug
18+
- title: Implementation Improvements
19+
labels:
20+
- implementation
1221
- title: Other Changes
1322
labels:
1423
- "*"

.github/workflows/build-fil-windows.yml

Lines changed: 0 additions & 72 deletions
This file was deleted.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Build Project
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches-ignore:
6+
- 'master'
7+
workflow_run:
8+
workflows: Tag and Sync
9+
types: completed
10+
branches: dev
11+
# This is the branch that the original workflow ran on, which is technically dev, due to how
12+
# the "pull_request" trigger works (it works off master correctly for a merged PR but is triggered
13+
# by dev
14+
15+
jobs:
16+
trigger-build:
17+
name: Build Project
18+
if: github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success'
19+
uses: oblivioncth/actions/.github/workflows/build-cxx-project.yml@v1
20+
secrets:
21+
ffynnon_access: ${{ secrets.OBYBOT_FFYNNON_ACCESS }}
22+
with:
23+
runs_exclude: >
24+
[
25+
{ "os": "windows-latest", "linkage": "shared" },
26+
{ "os": "ubuntu-20.04"},
27+
{ "os": "ubuntu-22.04"}
28+
]
29+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: Check Release PR
2+
on:
3+
pull_request:
4+
types: [opened, synchronize, reopened]
5+
branches: master
6+
7+
jobs:
8+
check-pr-correctness:
9+
name: Release PR Correctness Check
10+
uses: oblivioncth/actions/.github/workflows/validate-release-pr.yml@v1
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Generate Release
2+
on:
3+
workflow_run:
4+
workflows: Build Project
5+
types: completed
6+
branches: master
7+
8+
jobs:
9+
create-release-suffix:
10+
name: Create Release Name Suffix
11+
if: github.event.workflow_run.conclusion == 'success'
12+
runs-on: ubuntu-latest
13+
outputs:
14+
suffix: ${{ steps.form_suffix.outputs.suffix }}
15+
steps:
16+
- name: Checkout project
17+
uses: actions/checkout@v4
18+
- name: Get target FP version
19+
id: check_target_fp
20+
env:
21+
match_start: set\(TARGET_FP_VERSION_PREFIX
22+
match_end: \)
23+
shell: pwsh
24+
run: |
25+
$project_lists = Get-Content -Raw CMakeLists.txt
26+
if(!($project_lists -match '(?<=${{ env.match_start }})(.*)(?=${{ env.match_end }})')){
27+
throw "Could not get target FP version!"
28+
}
29+
$target_version = "v$($Matches[1].Trim())"
30+
echo "fp_version=$target_version" >> $Env:GITHUB_ENV
31+
- name: Form suffix
32+
id: form_suffix
33+
run: |
34+
suffix="(Targets FP $fp_version)"
35+
echo "suffix=$suffix" >> $GITHUB_OUTPUT
36+
37+
generate-release:
38+
name: Generate Release
39+
needs: create-release-suffix
40+
permissions:
41+
actions: read
42+
contents: write
43+
pages: write
44+
id-token: write
45+
if: github.event.workflow_run.conclusion == 'success'
46+
uses: oblivioncth/actions/.github/workflows/generate-cxx-release.yml@v1
47+
with:
48+
artifacts_run_id: ${{ github.event.workflow_run.id }}
49+
name_suffix: ${{ needs.create-release-suffix.outputs.suffix }}
50+

.github/workflows/label-pr.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Label PR
2+
on:
3+
pull_request_target:
4+
types: [opened, synchronize, reopened]
5+
6+
jobs:
7+
label-pr:
8+
name: Label pull-request
9+
permissions:
10+
contents: read
11+
pull-requests: write
12+
uses: oblivioncth/actions/.github/workflows/label-pr.yml@v1

.github/workflows/master-pull-request-checks.yml

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

.github/workflows/master-pull-request-merge-reaction.yml

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

.github/workflows/pull-request-labeler.yml

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

.github/workflows/push-reaction.yml

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

0 commit comments

Comments
 (0)