mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 10:25:36 -04:00
CI: bump all to @v3 actions from Calamares
- prep for the nightlies (only openSUSE affected) - notifications (slightly more secure) - fix unlabeling issues on close
This commit is contained in:
parent
7019b6d663
commit
d75439e711
5 changed files with 21 additions and 21 deletions
6
.github/workflows/issues.yml
vendored
6
.github/workflows/issues.yml
vendored
|
@ -10,14 +10,14 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: "notify: new"
|
- name: "notify: new"
|
||||||
if: github.event.issue.state == 'open'
|
if: github.event.issue.state == 'open'
|
||||||
uses: calamares/actions/matrix-notify@v2
|
uses: calamares/actions/matrix-notify@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.MATRIX_TOKEN }}
|
token: ${{ secrets.MATRIX_TOKEN }}
|
||||||
room: ${{ secrets.MATRIX_ROOM }}
|
room: ${{ secrets.MATRIX_ROOM }}
|
||||||
message: "OPENED ${{ github.event.issue.html_url }} by ${{ github.actor }} ${{ github.event.issue.title }}"
|
message: "OPENED ${{ github.event.issue.html_url }} by ${{ github.actor }} ${{ github.event.issue.title }}"
|
||||||
- name: "notify: closed"
|
- name: "notify: closed"
|
||||||
if: github.event.issue.state != 'open'
|
if: github.event.issue.state != 'open'
|
||||||
uses: calamares/actions/matrix-notify@v2
|
uses: calamares/actions/matrix-notify@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.MATRIX_TOKEN }}
|
token: ${{ secrets.MATRIX_TOKEN }}
|
||||||
room: ${{ secrets.MATRIX_ROOM }}
|
room: ${{ secrets.MATRIX_ROOM }}
|
||||||
|
@ -28,5 +28,5 @@ jobs:
|
||||||
curl -X DELETE \
|
curl -X DELETE \
|
||||||
-H 'Accept: application/vnd.github.v3+json' \
|
-H 'Accept: application/vnd.github.v3+json' \
|
||||||
-H 'Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
|
-H 'Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
|
||||||
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.id }}/labels/hacking%3A+in-progress
|
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/labels/hacking%3A+in-progress
|
||||||
|
|
||||||
|
|
8
.github/workflows/nightly-debian.yml
vendored
8
.github/workflows/nightly-debian.yml
vendored
|
@ -22,22 +22,22 @@ jobs:
|
||||||
options: --tmpfs /build:rw --user 0:0
|
options: --tmpfs /build:rw --user 0:0
|
||||||
steps:
|
steps:
|
||||||
- name: "prepare env"
|
- name: "prepare env"
|
||||||
uses: calamares/actions/prepare-debian@v2
|
uses: calamares/actions/prepare-debian@v3
|
||||||
- name: "prepare source"
|
- name: "prepare source"
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: "build"
|
- name: "build"
|
||||||
id: build
|
id: build
|
||||||
uses: calamares/actions/generic-build@v2
|
uses: calamares/actions/generic-build@v3
|
||||||
- name: "notify: ok"
|
- name: "notify: ok"
|
||||||
if: ${{ success() && github.repository == 'calamares/calamares' }}
|
if: ${{ success() && github.repository == 'calamares/calamares' }}
|
||||||
uses: calamares/actions/matrix-notify@v2
|
uses: calamares/actions/matrix-notify@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.MATRIX_TOKEN }}
|
token: ${{ secrets.MATRIX_TOKEN }}
|
||||||
room: ${{ secrets.MATRIX_ROOM }}
|
room: ${{ secrets.MATRIX_ROOM }}
|
||||||
message: "OK ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }}"
|
message: "OK ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }}"
|
||||||
- name: "notify: fail"
|
- name: "notify: fail"
|
||||||
if: ${{ failure() && github.repository == 'calamares/calamares' }}
|
if: ${{ failure() && github.repository == 'calamares/calamares' }}
|
||||||
uses: calamares/actions/matrix-notify@v2
|
uses: calamares/actions/matrix-notify@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.MATRIX_TOKEN }}
|
token: ${{ secrets.MATRIX_TOKEN }}
|
||||||
room: ${{ secrets.MATRIX_ROOM }}
|
room: ${{ secrets.MATRIX_ROOM }}
|
||||||
|
|
8
.github/workflows/nightly-neon.yml
vendored
8
.github/workflows/nightly-neon.yml
vendored
|
@ -22,12 +22,12 @@ jobs:
|
||||||
options: --tmpfs /build:rw --user 0:0
|
options: --tmpfs /build:rw --user 0:0
|
||||||
steps:
|
steps:
|
||||||
- name: "prepare env"
|
- name: "prepare env"
|
||||||
uses: calamares/actions/prepare-neon@v2
|
uses: calamares/actions/prepare-neon@v3
|
||||||
- name: "prepare source"
|
- name: "prepare source"
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: "build"
|
- name: "build"
|
||||||
id: build
|
id: build
|
||||||
uses: calamares/actions/generic-build@v2
|
uses: calamares/actions/generic-build@v3
|
||||||
- name: "Calamares: archive"
|
- name: "Calamares: archive"
|
||||||
working-directory: ${{ env.BUILDDIR }}
|
working-directory: ${{ env.BUILDDIR }}
|
||||||
run: |
|
run: |
|
||||||
|
@ -42,14 +42,14 @@ jobs:
|
||||||
retention-days: 3
|
retention-days: 3
|
||||||
- name: "notify: ok"
|
- name: "notify: ok"
|
||||||
if: ${{ success() && github.repository == 'calamares/calamares' }}
|
if: ${{ success() && github.repository == 'calamares/calamares' }}
|
||||||
uses: calamares/actions/matrix-notify@v2
|
uses: calamares/actions/matrix-notify@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.MATRIX_TOKEN }}
|
token: ${{ secrets.MATRIX_TOKEN }}
|
||||||
room: ${{ secrets.MATRIX_ROOM }}
|
room: ${{ secrets.MATRIX_ROOM }}
|
||||||
message: "OK ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }}"
|
message: "OK ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }}"
|
||||||
- name: "notify: fail"
|
- name: "notify: fail"
|
||||||
if: ${{ failure() && github.repository == 'calamares/calamares' }}
|
if: ${{ failure() && github.repository == 'calamares/calamares' }}
|
||||||
uses: calamares/actions/matrix-notify@v2
|
uses: calamares/actions/matrix-notify@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.MATRIX_TOKEN }}
|
token: ${{ secrets.MATRIX_TOKEN }}
|
||||||
room: ${{ secrets.MATRIX_ROOM }}
|
room: ${{ secrets.MATRIX_ROOM }}
|
||||||
|
|
12
.github/workflows/nightly-opensuse.yml
vendored
12
.github/workflows/nightly-opensuse.yml
vendored
|
@ -22,24 +22,24 @@ jobs:
|
||||||
options: --tmpfs /build:rw --user 0:0
|
options: --tmpfs /build:rw --user 0:0
|
||||||
steps:
|
steps:
|
||||||
- name: "prepare env"
|
- name: "prepare env"
|
||||||
uses: calamares/actions/prepare-opensuse@0d294e557d4d2f0fa179eff3ac97b45aaffe53cf
|
uses: calamares/actions/prepare-opensuse@v3
|
||||||
- name: "prepare source"
|
- name: "prepare source"
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: "build"
|
- name: "build"
|
||||||
id: build
|
id: build
|
||||||
uses: calamares/actions/generic-build@v2
|
uses: calamares/actions/generic-build@v3
|
||||||
- name: "notify: ok"
|
- name: "notify: ok"
|
||||||
if: ${{ success() && github.repository == 'calamares/calamares' }}
|
if: ${{ success() && github.repository == 'calamares/calamares' }}
|
||||||
uses: calamares/actions/matrix-notify@0d294e557d4d2f0fa179eff3ac97b45aaffe53cf
|
uses: calamares/actions/matrix-notify@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.MATRIX_TOKEN }}
|
token: ${{ secrets.MATRIX_TOKEN }}
|
||||||
room: ${{ secrets.MATRIX_ROOM }}
|
room: ${{ secrets.MATRIX_ROOM }}
|
||||||
message: |
|
message: |
|
||||||
OK" ; ls -la ; echo "${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }}"
|
OK ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }}"
|
||||||
- name: "notify: fail"
|
- name: "notify: fail"
|
||||||
if: ${{ failure() && github.repository == 'calamares/calamares' }}
|
if: ${{ failure() && github.repository == 'calamares/calamares' }}
|
||||||
uses: calamares/actions/matrix-notify@0d294e557d4d2f0fa179eff3ac97b45aaffe53cf
|
uses: calamares/actions/matrix-notify@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.MATRIX_TOKEN }}
|
token: ${{ secrets.MATRIX_TOKEN }}
|
||||||
room: ${{ secrets.MATRIX_ROOM }}
|
room: ${{ secrets.MATRIX_ROOM }}
|
||||||
message: "FAIL\" ; ls -la ; echo \" ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }}"
|
message: "FAIL ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }}"
|
||||||
|
|
8
.github/workflows/push.yml
vendored
8
.github/workflows/push.yml
vendored
|
@ -28,15 +28,15 @@ jobs:
|
||||||
options: --tmpfs /build:rw --user 0:0
|
options: --tmpfs /build:rw --user 0:0
|
||||||
steps:
|
steps:
|
||||||
- name: "prepare env"
|
- name: "prepare env"
|
||||||
uses: calamares/actions/prepare-neon@v2
|
uses: calamares/actions/prepare-neon@v3
|
||||||
- name: "prepare source"
|
- name: "prepare source"
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: "build"
|
- name: "build"
|
||||||
id: build
|
id: build
|
||||||
uses: calamares/actions/generic-build@v2
|
uses: calamares/actions/generic-build@v3
|
||||||
- name: "notify: ok"
|
- name: "notify: ok"
|
||||||
if: ${{ success() && github.repository == 'calamares/calamares' }}
|
if: ${{ success() && github.repository == 'calamares/calamares' }}
|
||||||
uses: calamares/actions/matrix-notify@v2
|
uses: calamares/actions/matrix-notify@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.MATRIX_TOKEN }}
|
token: ${{ secrets.MATRIX_TOKEN }}
|
||||||
room: ${{ secrets.MATRIX_ROOM }}
|
room: ${{ secrets.MATRIX_ROOM }}
|
||||||
|
@ -45,7 +45,7 @@ jobs:
|
||||||
.. ${{ steps.build.outputs.git-summary }}
|
.. ${{ steps.build.outputs.git-summary }}
|
||||||
- name: "notify: fail"
|
- name: "notify: fail"
|
||||||
if: ${{ failure() && github.repository == 'calamares/calamares' }}
|
if: ${{ failure() && github.repository == 'calamares/calamares' }}
|
||||||
uses: calamares/actions/matrix-notify@v2
|
uses: calamares/actions/matrix-notify@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.MATRIX_TOKEN }}
|
token: ${{ secrets.MATRIX_TOKEN }}
|
||||||
room: ${{ secrets.MATRIX_ROOM }}
|
room: ${{ secrets.MATRIX_ROOM }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue