Master Merge #776
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Master Merge' | |
on: | |
workflow_run: | |
workflows: [CI Pipeline] | |
types: | |
- completed | |
workflow_dispatch: | |
jobs: | |
master-merge: | |
runs-on: ubuntu-latest | |
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Restore | |
run: dotnet restore | |
- name: Build ReleaseNotes | |
run: dotnet build -c Release -p:TGS_HOST_NO_WEBPANEL=true tools/Tgstation.Server.ReleaseNotes/Tgstation.Server.ReleaseNotes.csproj | |
- name: Run ReleaseNotes Create CI Completion Check | |
run: dotnet run -c Release --no-build --project tools/Tgstation.Server.ReleaseNotes --token-output-file ${{ runner.temp }}/installation_secret.txt ${{ secrets.TGS_CI_GITHUB_APP_TOKEN_BASE64 }} | |
- name: Load Installation Token into Envvar | |
run: echo "INSTALLATION_TOKEN=$(cat ${{ runner.temp }}/installation_secret.txt)" >> $GITHUB_ENV | |
- name: Merge master into dev | |
uses: robotology/gh-action-nightly-merge@14b4a4cf358f7479aa708bee05cf8a794d6a2516 #v1.5.0 | |
with: | |
stable_branch: 'master' | |
development_branch: 'dev' | |
allow_ff: true | |
allow_forks: true | |
user_name: tgstation-server | |
user_email: [email protected] | |
push_token: INSTALLATION_TOKEN | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |