diff options
author | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2023-02-02 10:54:30 +0500 |
---|---|---|
committer | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2023-02-02 11:14:18 +0500 |
commit | 87804196df681b345a2ba1b5d422447fc26a0852 (patch) | |
tree | 5ba1af5f8632f3f3b6a38fa6a34a3f7e8082e6ef /.github/workflows/emails.yml | |
parent | games-emulation/citra*: do not depend on dev-libs/cpp-httplib (diff) | |
download | guru-87804196df681b345a2ba1b5d422447fc26a0852.tar.gz guru-87804196df681b345a2ba1b5d422447fc26a0852.tar.bz2 guru-87804196df681b345a2ba1b5d422447fc26a0852.zip |
.github/workflows: update actions
* bump actions
* fix indentation and other issues detected by yamllint
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to '.github/workflows/emails.yml')
-rw-r--r-- | .github/workflows/emails.yml | 66 |
1 files changed, 34 insertions, 32 deletions
diff --git a/.github/workflows/emails.yml b/.github/workflows/emails.yml index 966000a14..12f70387f 100644 --- a/.github/workflows/emails.yml +++ b/.github/workflows/emails.yml @@ -1,43 +1,45 @@ +--- + name: emails on: push: - branches: [ dev ] + branches: [dev] pull_request: - branches: [ dev ] + branches: [dev] jobs: bugzilla: runs-on: ubuntu-latest steps: - - uses: nrwl/last-successful-commit-action@v1 - id: last_successful_commit - with: - branch: 'dev' - workflow_id: 'emails.yml' - github_token: ${{ secrets.GITHUB_TOKEN }} - - - name: Checkout compare ref - uses: actions/checkout@v2 - with: - ref: ${{ steps.last_successful_commit.outputs.commit_hash }} - - - name: Checkout code - uses: actions/checkout@v2 - - - uses: actions/setup-python@v3 - with: - python-version: '3.x' - - - name: Get changed files - id: changed-files - uses: tj-actions/changed-files@v18.6 - with: - base_sha: ${{ steps.last_successful_commit.outputs.commit_hash }} - files: | - **/metadata.xml - - - name: Check Emails against bugzilla - run: | - python ./scripts/email-checker.py ${{ steps.changed-files.outputs.all_changed_files }} + - uses: nrwl/last-successful-commit-action@v1 + id: last_successful_commit + with: + branch: 'dev' + workflow_id: 'emails.yml' + github_token: ${{ secrets.GITHUB_TOKEN }} + + - name: Checkout compare ref + uses: actions/checkout@v3 + with: + ref: ${{ steps.last_successful_commit.outputs.commit_hash }} + + - name: Checkout code + uses: actions/checkout@v3 + + - uses: actions/setup-python@v3 + with: + python-version: '3.x' + + - name: Get changed files + id: changed-files + uses: tj-actions/changed-files@v18.6 + with: + base_sha: ${{ steps.last_successful_commit.outputs.commit_hash }} + files: | + **/metadata.xml + + - name: Check Emails against bugzilla + run: | + python ./scripts/email-checker.py ${{ steps.changed-files.outputs.all_changed_files }} |