mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-10 20:18:41 -04:00
.github/workflows: replace changed-files action with git-diff
tj-actions/changed-files repo was compromised and has been removed. Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
parent
46f18b6135
commit
4d769f1bcb
10
.github/workflows/emails.yml
vendored
10
.github/workflows/emails.yml
vendored
@ -40,17 +40,13 @@ jobs:
|
||||
|
||||
- name: Get changed files
|
||||
if: ${{ fromJSON(env.is_commit_valid) }}
|
||||
uses: tj-actions/changed-files@v44
|
||||
with:
|
||||
base_sha: ${{ env.last_successful_commit }}
|
||||
write_output_files: true
|
||||
files: |
|
||||
**/metadata.xml
|
||||
run: |
|
||||
git diff --diff-filter d --name-only ${last_successful_commit} -- '*/metadata.xml' | tr '\n' ' ' | tee all_changed_files.txt
|
||||
|
||||
- name: Check emails against Bugzilla
|
||||
if: ${{ fromJSON(env.is_commit_valid) }}
|
||||
run: |
|
||||
python ./scripts/email-checker.py < .github/outputs/all_changed_files.txt
|
||||
python ./scripts/email-checker.py < all_changed_files.txt
|
||||
|
||||
- name: Inform on IRC
|
||||
if: ${{ failure() && github.repository == 'gentoo/guru' && github.event_name == 'push' }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user