Skip to content

Commit

Permalink
Manual triggering of author sync workflow (#26414)
Browse files Browse the repository at this point in the history
* Allow committers to run author sync manually

* Fix test failures
  • Loading branch information
norm committed Sep 15, 2022
1 parent 9115488 commit 4261210
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/sync_authors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4261210

Please sign in to comment.