Harald Hoyer 460d2c
From fc1d50b27046985d7882d7b4ff3abde374a39891 Mon Sep 17 00:00:00 2001
Harald Hoyer 460d2c
From: =?UTF-8?q?J=C3=B3hann=20B=2E=20Gu=C3=B0mundsson?= <johannbg@gmail.com>
Harald Hoyer 460d2c
Date: Fri, 7 Aug 2020 16:17:45 +0000
Harald Hoyer 460d2c
Subject: [PATCH] Update master-labels.yml
Harald Hoyer 460d2c
Harald Hoyer 460d2c
Removing branches not sure if they work with the cron scheduler in workflow actions
Harald Hoyer 460d2c
---
Harald Hoyer 460d2c
 .github/workflows/master-labels.yml | 26 ++++++++++++--------------
Harald Hoyer 460d2c
 1 file changed, 12 insertions(+), 14 deletions(-)
Harald Hoyer 460d2c
Harald Hoyer 460d2c
diff --git a/.github/workflows/master-labels.yml b/.github/workflows/master-labels.yml
Harald Hoyer 460d2c
index ad92fd2b..0a46425a 100644
Harald Hoyer 460d2c
--- a/.github/workflows/master-labels.yml
Harald Hoyer 460d2c
+++ b/.github/workflows/master-labels.yml
Harald Hoyer 460d2c
@@ -1,19 +1,17 @@
Harald Hoyer 460d2c
-# This workflow will triage pull requests for the RHEL-6 branch and 
Harald Hoyer 460d2c
-# apply a label based on the paths that are modified in the pull request.
Harald Hoyer 460d2c
+# This workflow will triage pull request and apply a 
Harald Hoyer 460d2c
+# label based on the paths that are modified in the pull request.
Harald Hoyer 460d2c
 
Harald Hoyer 460d2c
 name: master-labeler
Harald Hoyer 460d2c
-  on: 
Harald Hoyer 460d2c
+on:
Harald Hoyer 460d2c
    schedule:
Harald Hoyer 460d2c
-     - cron: '*/15 * * * *'
Harald Hoyer 460d2c
-   branches:
Harald Hoyer 460d2c
-     - master
Harald Hoyer 460d2c
+        - cron: '*/15 * * * *'
Harald Hoyer 460d2c
 
Harald Hoyer 460d2c
 jobs:
Harald Hoyer 460d2c
-  label:
Harald Hoyer 460d2c
-    runs-on: ubuntu-latest
Harald Hoyer 460d2c
-      steps:
Harald Hoyer 460d2c
-       - uses: paulfantom/periodic-labeler@master
Harald Hoyer 460d2c
-           env:
Harald Hoyer 460d2c
-              GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Harald Hoyer 460d2c
-              GITHUB_REPOSITORY: ${{ github.repository }}
Harald Hoyer 460d2c
-              LABEL_MAPPINGS_FILE: .github/master-label-triggers.yml
Harald Hoyer 460d2c
+    label:
Harald Hoyer 460d2c
+        runs-on: ubuntu-latest
Harald Hoyer 460d2c
+        steps:
Harald Hoyer 460d2c
+            - uses: paulfantom/periodic-labeler@master
Harald Hoyer 460d2c
+              env:
Harald Hoyer 460d2c
+                  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Harald Hoyer 460d2c
+                  GITHUB_REPOSITORY: ${{ github.repository }}
Harald Hoyer 460d2c
+                  LABEL_MAPPINGS_FILE: .github/labeler.yml
Harald Hoyer 460d2c