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

[airflow] branch main updated: Manual triggering of author sync workflow (#26414)

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

ash pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 4261210aec Manual triggering of author sync workflow (#26414)
4261210aec is described below

commit 4261210aecbac43fba355d348beb3301f4f79ac5
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
---
 .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 2d329ec4ba..1ca0171ba5 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -768,6 +768,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