-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Switch to centralized GitHub Action Workflows provided by Hassio Community Addons, while utilizing customized ones where needed. - Clean Up of Unused workflow files.
- Loading branch information
1 parent
726660d
commit 855210c
Showing
9 changed files
with
28 additions
and
262 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -164,17 +164,6 @@ jobs: | |
fi | ||
- name: ⤵️ Download base image | ||
run: docker pull "${{ steps.flags.outputs.from }}" | ||
- name: ✅ Verify authenticity of base image | ||
run: | | ||
vcn authenticate \ | ||
"docker://${{ steps.flags.outputs.from }}" | ||
vcn authenticate \ | ||
--output json \ | ||
--signerID 0x03e406879fd89e52f38f4aab0061266d1183980a \ | ||
"docker://${{ steps.flags.outputs.from }}" \ | ||
| jq \ | ||
--exit-status \ | ||
'.verification.status == 0' | ||
- name: 🚀 Build | ||
uses: docker/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -113,17 +113,6 @@ jobs: | |
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: ⤵️ Download base image | ||
run: docker pull "${{ steps.flags.outputs.from }}" | ||
- name: ✅ Verify authenticity of base image | ||
run: | | ||
vcn authenticate \ | ||
"docker://${{ steps.flags.outputs.from }}" | ||
vcn authenticate \ | ||
--output json \ | ||
--signerID 0x03e406879fd89e52f38f4aab0061266d1183980a \ | ||
"docker://${{ steps.flags.outputs.from }}" \ | ||
| jq \ | ||
--exit-status \ | ||
'.verification.status == 0' | ||
- name: 🚀 Build | ||
uses: docker/[email protected] | ||
with: | ||
|
@@ -157,26 +146,6 @@ jobs: | |
run: | | ||
rm -rf /tmp/.docker-cache | ||
mv /tmp/.docker-cache-new /tmp/.docker-cache | ||
- name: 🔏 Notarize | ||
# yamllint disable rule:line-length | ||
run: | | ||
if vcn authenticate \ | ||
--output json \ | ||
"docker://ghcr.io/gauthamvarmak/${{ needs.information.outputs.slug }}/${{ matrix.architecture }}:${{ needs.information.outputs.version }}" \ | ||
| jq \ | ||
--exit-status \ | ||
'.verification.status != 0'; | ||
then | ||
vcn login | ||
vcn notarize \ | ||
--public \ | ||
"docker://ghcr.io/gauthamvarmak/${{ needs.information.outputs.slug }}/${{ matrix.architecture }}:${{ needs.information.outputs.version }}" | ||
fi | ||
env: | ||
VCN_USER: ${{ secrets.VCN_USER }} | ||
VCN_PASSWORD: ${{ secrets.VCN_PASSWORD }} | ||
VCN_NOTARIZATION_PASSWORD: ${{ secrets.VCN_NOTARIZATION_PASSWORD }} | ||
VCN_OTP_EMPTY: true | ||
- name: 🚀 Push | ||
# yamllint disable rule:line-length | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,20 +3,12 @@ name: Sync labels | |
|
||
# yamllint disable-line rule:truthy | ||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- .github/labels.yml | ||
schedule: | ||
- cron: "34 5 * * *" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
labels: | ||
name: ♻️ Sync labels | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: ⤵️ Check out code from GitHub | ||
uses: actions/[email protected] | ||
- name: 🚀 Run Label Syncer | ||
uses: micnncim/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
workflows: | ||
uses: hassio-addons/workflows/.github/workflows/labels.yaml@main | ||
secrets: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,19 +4,14 @@ name: PR Labels | |
# yamllint disable-line rule:truthy | ||
on: | ||
pull_request_target: | ||
types: [opened, labeled, unlabeled, synchronize] | ||
types: | ||
- opened | ||
- labeled | ||
- unlabeled | ||
- synchronize | ||
|
||
jobs: | ||
pr_labels: | ||
name: Verify | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🏷 Verify PR has a valid label | ||
uses: jesusvasquez333/[email protected] | ||
with: | ||
pull-request-number: "${{ github.event.pull_request.number }}" | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" | ||
valid-labels: >- | ||
breaking-change, bugfix, documentation, enhancement, refactor, | ||
performance, new-feature, maintenance, ci, dependencies | ||
disable-reviews: true | ||
workflows: | ||
uses: hassio-addons/workflows/.github/workflows/pr-labels.yaml@main | ||
secrets: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,11 +8,7 @@ on: | |
- main | ||
|
||
jobs: | ||
update_release_draft: | ||
name: ✏️ Draft release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🚀 Run Release Drafter | ||
uses: release-drafter/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
workflows: | ||
uses: hassio-addons/workflows/.github/workflows/release-drafter.yaml@main | ||
secrets: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters