1
mirror of https://github.com/R2Northstar/Northstar synced 2025-09-16 14:10:48 +02:00

Compare commits

...

4 Commits

Author SHA1 Message Date
GeckoEidechse
8fdfdbd61a Add Action to auto-label PRs with merge conflicts (#682) 2024-08-09 13:22:51 +02:00
GeckoEidechse
767927fb92 Bump DiscordRPC plugin to v10 (#666) 2024-07-06 02:30:35 +02:00
GeckoEidechse
7a72ecffcf Bump softprops/action-gh-release action to v2 (#652)
as v1 uses Node 16 which is being deprecated in a few months
2024-06-22 12:09:23 +02:00
GeckoEidechse
e7e2d55c9b Bump upload/download artifact actions to v4 (#650)
as v3 is being deprecated in a few months
2024-06-18 15:04:50 +02:00
2 changed files with 23 additions and 4 deletions

View File

@@ -0,0 +1,19 @@
name: Merge Conflict Auto Label
on:
workflow_dispatch: # Manual run
push:
branches:
- main
schedule:
- cron: "10 21 * * *" # Runs at 21:10; time was chosen based on contributor activity and low GitHub Actions cron load.
jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: mschilde/auto-label-merge-conflicts@master
with:
CONFLICT_LABEL_NAME: "merge conflicts"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MAX_RETRIES: 5
WAIT_MS: 5000

View File

@@ -34,7 +34,7 @@ jobs:
wget "https://github.com/R2Northstar/NorthstarLauncher/releases/download/${{ env.NORTHSTAR_VERSION }}/northstar-launcher.zip"
- name: Download DiscordRPC plugin
run:
wget "https://github.com/R2Northstar/NorthstarDiscordRPC/releases/download/v9/northstar-discord-rpc.zip"
wget "https://github.com/R2Northstar/NorthstarDiscordRPC/releases/download/v10/northstar-discord-rpc.zip"
- name: Download compiled stubs
run:
wget "https://github.com/R2Northstar/NorthstarStubs/releases/download/v1/NorthstarStubs.zip"
@@ -84,7 +84,7 @@ jobs:
run: |
rm -rf .git .github .gitignore *.md LICENSE thunderstore .ci.env.example *.sh
- name: Upload
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Northstar.release.${{ env.NORTHSTAR_VERSION }}
path: northstar
@@ -100,7 +100,7 @@ jobs:
sha512sum Northstar.release.${{ env.NORTHSTAR_VERSION }}.zip >> $GITHUB_STEP_SUMMARY
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
- name: Upload zip to release draft
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/v') && !contains(env.NORTHSTAR_VERSION, '-rc')
with:
draft: true
@@ -137,7 +137,7 @@ jobs:
- name: Download Northstar package
if: ${{ !env.ACT }} # Download artifacts from previous jobs when running on GitHub's infrastructure
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: Northstar.release.${{ env.NORTHSTAR_VERSION }}
path: northstar