You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ep...@apache.org on 2022/10/18 15:08:45 UTC

[airflow] 10/13: Manual triggering of author sync workflow (#26414)

This is an automated email from the ASF dual-hosted git repository.

ephraimanierobi pushed a commit to branch v2-4-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 79e017f5589694698b7d98428731db6315b30ebc
Author: Mark Norman Francis <no...@201created.com>
AuthorDate: Thu Sep 15 11:45:52 2022 +0100

    Manual triggering of author sync workflow (#26414)
    
    * Allow committers to run author sync manually
    
    * Fix test failures
    
    (cherry picked from commit 4261210aecbac43fba355d348beb3301f4f79ac5)
---
 .github/workflows/sync_authors.yml | 3 +++
 .pre-commit-config.yaml            | 1 +
 2 files changed, 4 insertions(+)

diff --git a/.github/workflows/sync_authors.yml b/.github/workflows/sync_authors.yml
index 52cb6db782..5ef30ba9c4 100644
--- a/.github/workflows/sync_authors.yml
+++ b/.github/workflows/sync_authors.yml
@@ -22,6 +22,9 @@ on:  # yamllint disable-line rule:truthy
   schedule:
     #        min   hr    dom   mon   dow
     - cron: '11    01    *     *     *'     # daily at 1.11am
+  workflow_dispatch:
+  # only users with write access to apache/airflow can run manually
+  # https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
 
 permissions:
   contents: write
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 8b6cd16b8e..2509776664 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -780,6 +780,7 @@ repos:
         language: python
         pass_filenames: true
         files: ^\.github/workflows/.*\.yml$
+        exclude: ^\.github/workflows/sync_authors\.yml$
         additional_dependencies: ['PyYAML', 'rich>=12.4.4']
       - id: check-docstring-param-types
         name: Check that docstrings do not specify param types