Skip to content

Commit

Permalink
updates github actions (#707)
Browse files Browse the repository at this point in the history
Co-authored-by: Crossedfall <[email protected]>

Co-authored-by: Crossedfall <[email protected]>
  • Loading branch information
MarkSuckerberg and Crossedfall authored Jan 20, 2021
1 parent 93ff110 commit 501c717
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/compile_changelogs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: Compile changelogs

on:
schedule:
- cron: "0 0 * * *"
- cron: "0 * * * *"
workflow_dispatch:

jobs:
compile:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker_publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Docker Build

on:
workflow_dispatch:
push:
branches:
- master
Expand Down
28 changes: 20 additions & 8 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@
name: PR Labeler

on:
schedule:
- cron: '*/10 * * * *'
push:
branches:
- master
pull_request_target:

jobs:
labeler:
Label:
runs-on: ubuntu-latest
steps:
- uses: paulfantom/periodic-labeler@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
LABEL_MAPPINGS_FILE: .github/labeler.yml
- name: Check for conflicting PRs
uses: eps1lon/actions-label-merge-conflict@releases/2.x
with:
dirtyLabel: "Merge Conflict"
repoToken: "${{ secrets.GITHUB_TOKEN }}"
commentOnDirty: "This pull request has conflicts, please resolve those before we can evaluate the pull request."
- name: Apply labels based on changed files
if: github.event_name != 'push'
uses: actions/labeler@main
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true
configuration-path: .github/labeler.yml
5 changes: 3 additions & 2 deletions .github/workflows/make_changelogs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ name: Make changelogs

on:
push:
branches: [master]
branches:
- master

jobs:
MakeCL:
runs-on: ubuntu-latest
if: github.repository == 'WaspStation/WaspStation-1.0' && !contains(github.event.head_commit.message, '[ci skip]')
if: "!contains(github.event.head_commit.message, '[ci skip]')"
steps:
- name: Checkout
uses: actions/checkout@v1
Expand Down

0 comments on commit 501c717

Please sign in to comment.