Skip to content

Commit

Permalink
Notify eco repository owners when needed
Browse files Browse the repository at this point in the history
This should notify owners of the eco repositories when a linter
change affects the linting outcome on their repositories.
  • Loading branch information
ssbarnea committed May 15, 2022
1 parent 805f461 commit d25f7b6
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,3 +256,11 @@ jobs:
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}

- name: Check out src from Git
uses: actions/checkout@v2

- name: Notify repository owners about lint change affecting them
uses: sourcegraph/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,4 @@ examples/playbooks/vars/strings.transformed.yml
src/ansiblelint/_version.py
*.tar.gz
.pytest_cache
test/eco/CODENOTIFY.html
33 changes: 33 additions & 0 deletions test/eco/CODENOTIFY
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Used for notifying repository owners about linter changes that would affect
# the lint outcomes on their repositories, so they can fix valid violations
# even before the linter changes are merged and released.
#
# Pull request proposers are should review all new violations and
# decide if they are correct or not. The `.result` files are expected to be
# updated and included in the PR when the outcome change is normal.
#
# Used by https://github.com/marketplace/actions/codenotify

# https://github.com/robertdebock/ansible-role-bootstrap
bootstrap.result @robertdebock

# https://github.com/devroles/ansible_collection_system
colsystem.result @greg-hellings

# https://github.com/debops/debops
debops.result @drybjed

# https://github.com/konstruktoid/ansible-docker-rootless
docker-rootless.result @konstruktoid

# https://github.com/konstruktoid/ansible-role-hardening
hardening.result @konstruktoid

# https://github.com/geerlingguy/ansible-role-mysql.git
mysql.result @geerlingguy

# https://opendev.org/openstack/tripleo-ansible
tripleo-ansible.result @ssbarnea

# https://opendev.org/zuul/zuul-jobs
zuul-jobs.result @ssbarnea

0 comments on commit d25f7b6

Please sign in to comment.