Skip to content

Commit d78d46b

Browse files
jdblischakihnorton
authored andcommitted
Switch to TileDB-Inc/github-actions/open-issue
1 parent 78d2db5 commit d78d46b

File tree

5 files changed

+20
-40
lines changed

5 files changed

+20
-40
lines changed

.github/workflows/daily-test-build-issue-template.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/workflows/daily-test-build-numpy.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,16 +81,16 @@ jobs:
8181
run: pytest -vv
8282

8383
create_issue_on_fail:
84+
permissions:
85+
issues: write
8486
runs-on: ubuntu-latest
8587
needs: test
8688
if: failure() || cancelled()
8789
steps:
88-
- name: Checkout TileDB-Py `dev`
89-
uses: actions/checkout@v2
90+
- uses: actions/checkout@v2
9091
- name: Create Issue if Build Fails
91-
uses: JasonEtco/create-an-issue@v2
92-
env:
93-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
92+
uses: TileDB-Inc/github-actions/open-issue@main
9493
with:
95-
filename: .github/workflows/daily-test-build-issue-template.md
96-
update_existing: true
94+
name: nightly build with earilest supported numpy
95+
label: bug,nightly-failure
96+
assignee: nguyenv,ihnorton

.github/workflows/daily-test-build.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ jobs:
3636
uninstall_pandas: [true, false]
3737
fail-fast: false
3838

39-
permissions:
40-
issues: write
4139
env:
4240
TILEDB_VERSION: ${{ matrix.libtiledb_version }}
4341
MACOSX_DEPLOYMENT_TARGET: "10.15"
@@ -84,16 +82,16 @@ jobs:
8482
run: pytest -vv
8583

8684
create_issue_on_fail:
85+
permissions:
86+
issues: write
8787
runs-on: ubuntu-latest
8888
needs: test
8989
if: failure() || cancelled()
9090
steps:
91-
- name: Checkout TileDB-Py `dev`
92-
uses: actions/checkout@v2
91+
- uses: actions/checkout@v2
9392
- name: Create Issue if Build Fails
94-
uses: JasonEtco/create-an-issue@v2
95-
env:
96-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
93+
uses: TileDB-Inc/github-actions/open-issue@main
9794
with:
98-
filename: .github/workflows/daily-test-build-issue-template.md
99-
update_existing: true
95+
name: nightly build
96+
label: bug,nightly-failure
97+
assignee: nguyenv,ihnorton

.github/workflows/issue-if-azure-fail-template.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/workflows/issue-if-azure-fail.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ jobs:
1919
branches: "azure-wheel-test-${{ steps.date.outputs.date }}-against-${{ env.LIBTILEDB_SHA }}"
2020

2121
notify-fail:
22+
permissions:
23+
issues: write
2224
if: github.event.action == 'failed'
2325
runs-on: ubuntu-latest
2426
steps:
2527
- uses: actions/checkout@v2
2628
- name: Create Issue if Build Fails
27-
uses: JasonEtco/create-an-issue@v2
28-
env:
29-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30-
AZURE_BUILD_ID: ${{ github.event.client_payload.data.build_id }}
29+
uses: TileDB-Inc/github-actions/open-issue@main
3130
with:
32-
filename: .github/workflows/issue-if-azure-fail-template.md
33-
update_existing: true
31+
name: nightly Azure wheel
32+
label: bug,nightly-azure-failure
33+
assignee: nguyenv,ihnorton

0 commit comments

Comments
 (0)