Skip to content

Commit

Permalink
Switch to TileDB-Inc/github-actions/open-issue (#4340)
Browse files Browse the repository at this point in the history
After a nightly build failure, report it using the new centralized GitHub Action [open-issue](https://github.com/TileDB-Inc/github-actions/tree/main/open-issue). It will comment on an open Issue with the provided label, eg `#4333`, instead of opening a new Issue every night

xref: #3081, TileDB-Inc/TileDB-Py#1821

---
TYPE: NO_HISTORY
DESC: Switch to TileDB-Inc/github-actions/open-issue
  • Loading branch information
jdblischak authored Sep 11, 2023
1 parent e57692d commit f994d79
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/nightly-failure-issue-template.md

This file was deleted.

12 changes: 6 additions & 6 deletions .github/workflows/nightly-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ jobs:
name: |
${{ matrix.os }} - Sanitizer: ${{ matrix.sanitizer || 'none' }} | Experimental: ${{ matrix.experimental || 'OFF' }} | ${{ matrix.config || 'Release' }}
permissions:
issues: write
env:
MACOSX_DEPLOYMENT_TARGET: 10.15
TILEDB_NIGHTLY_BUILD: 1
Expand Down Expand Up @@ -62,15 +60,17 @@ jobs:
cmake --build build --target check --config ${{ matrix.config || 'Release' }}
create_issue_on_fail:
permissions:
issues: write
runs-on: ubuntu-latest
needs: test
if: failure() || cancelled()
steps:
- name: Checkout TileDB `dev`
uses: actions/checkout@v3
- name: Create Issue if Build Fails
uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: TileDB-Inc/github-actions/open-issue@main
with:
filename: .github/workflows/nightly-failure-issue-template.md
name: nightly GitHub Actions build
label: nightly
assignee: ihnorton,teo-tsirpanis,davisp

0 comments on commit f994d79

Please sign in to comment.