File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 permissions :
1414 contents : write
1515 steps :
16- - uses : actions/checkout@v6
16+ - uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
17+ with :
18+ persist-credentials : false
1719
1820 - name : Validate version format
1921 run : |
@@ -35,22 +37,25 @@ jobs:
3537 custom_components/echonet_lite/manifest.json
3638
3739 - name : Commit and tag
40+ env :
41+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3842 run : |
3943 git config user.name "github-actions[bot]"
4044 git config user.email "github-actions[bot]@users.noreply.github.com"
4145 git add custom_components/echonet_lite/manifest.json
4246 git commit -m "Release v${{ inputs.version }}"
4347 git tag "v${{ inputs.version }}"
44- git push origin HEAD --tags
48+ git push "https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}.git" HEAD --tags
4549
4650 - name : ZIP echonet_lite Dir
4751 run : |
4852 cd ${{ github.workspace }}/custom_components/echonet_lite
4953 zip echonet_lite.zip -r ./
5054
5155 - name : Create GitHub Release
52- uses : softprops/action-gh-release@v3
56+ uses : softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0
5357 with :
5458 tag_name : " v${{ inputs.version }}"
5559 generate_release_notes : true
60+ prerelease : true
5661 files : ${{ github.workspace }}/custom_components/echonet_lite/echonet_lite.zip
Original file line number Diff line number Diff line change 55 pull_request :
66 workflow_dispatch :
77 schedule :
8- - cron : ' 0 0 * * *'
8+ - cron : " 0 0 * * *"
99jobs :
1010 validation :
1111 runs-on : ubuntu-latest
1212 steps :
13- - uses : actions/checkout@v6
13+ - uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
14+ with :
15+ persist-credentials : false
1416 - name : HACS validation
15- uses : hacs/action@main
17+ uses : hacs/action@1ebf01c408f29afcb6406bd431bc98fd8cbb15aa # main
1618 with :
1719 category : integration
1820 - name : Hassfest validation
19- uses : home-assistant/actions/hassfest@master
21+ uses : home-assistant/actions/hassfest@e91ad1948e57189485b9c1ad608af0c303946f89 # master
You can’t perform that action at this time.
0 commit comments