Skip to content

Commit

Permalink
GitHub work flows
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostflyby committed Feb 9, 2024
1 parent f1c0ce2 commit 8bfd990
Show file tree
Hide file tree
Showing 6 changed files with 68 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/pr-branch-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
MuTE:
base: 'feature/MuTEMaster'
2 changes: 2 additions & 0 deletions .github/test-scala-presence.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[exclude]
"src/main/java/**/*.java" = "import scala."
15 changes: 15 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

name: Build and test

on:
pull_request:
branches: [ master, main ]
push:
branches: [ master, main ]

jobs:
build-and-test:
uses: GTNewHorizons/GTNH-Actions-Workflows/.github/workflows/build-and-test.yml@master
secrets: inherit
with:
timeout: 150
17 changes: 17 additions & 0 deletions .github/workflows/label-mute-prs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Pull request labeling

on:
pull_request_target:
types:
- opened
branches:
- 'feature/MuTEMaster'

jobs:
label_prs:
runs-on: ubuntu-latest
steps:
- name: Label MuTE PRs
uses: ffittschen/pr-branch-labeler@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
14 changes: 14 additions & 0 deletions .github/workflows/release-tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

name: Release tagged build

on:
push:
tags: [ '*' ]

permissions:
contents: write

jobs:
release-tags:
uses: GTNewHorizons/GTNH-Actions-Workflows/.github/workflows/release-tags.yml@master
secrets: inherit
18 changes: 18 additions & 0 deletions .github/workflows/test-scala-presence.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Test Scala Presence

on:
pull_request:
branches: [ master, main ]
push:
branches: [ master, main ]

jobs:
test-scala-presence:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Check file content
uses: mattsb42-meta/[email protected]
with:
config-file: ./.github/test-scala-presence.toml

0 comments on commit 8bfd990

Please sign in to comment.