Merge branch 'master' into dev

This commit is contained in:
tgstation-server
2023-04-29 13:17:11 +00:00
2 changed files with 26 additions and 1 deletions
@@ -0,0 +1,25 @@
# At the time of writing this, I'm the only maintainer and I want the proper branch protections in place
# So I'm setting up actions to auto-approve my work, since no one else does :(
# - Dominion <3
name: "Auto-Approve Dominion's PRs"
on:
pull_request:
types: [opened, synchronize]
branches:
- dev
- master
jobs:
approve-pr-if-dominion-is-author:
name: Approve PR if Dominion is Author
if: github.event.pull_request.user.login == 'Cyberboss'
runs-on: ubuntu-latest
steps:
- name: GitHub API Call
run: |
curl --request POST \
--url https://api.github.com/repos/${{github.repository}}/pulls/${{github.event.number}}/reviews \
--header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
--header 'content-type: application/json' \
-d '{"event":"APPROVE"}'
+1 -1
View File
@@ -1,4 +1,4 @@
# tgstation-server:
# tgstation-server
![CI](https://github.com/tgstation/tgstation-server/workflows/CI/badge.svg) [![codecov](https://codecov.io/gh/tgstation/tgstation-server/branch/master/graph/badge.svg)](https://codecov.io/gh/tgstation/tgstation-server)