Skip to content

Commit 2574cb9

Browse files
committed
Do not pin specific minor or patch version of actions
Major versions should guarantee compatibility. This change ensures the latest minor and patch version of GitHub actions is automatically used within the given major, instead of having to accept Dependabot PRs for it all the time.
1 parent 32ef70d commit 2574cb9

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ jobs:
3333
- dev
3434
steps:
3535
- name: Checkout source code
36-
uses: actions/checkout@v4.2.2
36+
uses: actions/checkout@v4
3737
- name: ESPHome ${{ matrix.esphome-version }}
38-
uses: esphome/build-action@v7.0.0
38+
uses: esphome/build-action@v7
3939
with:
4040
yaml-file: ${{ matrix.file }}.yaml
4141
version: ${{ matrix.esphome-version }}
4242
- name: ESPHome ${{ matrix.esphome-version }} Factory
43-
uses: esphome/build-action@v7.0.0
43+
uses: esphome/build-action@v7
4444
with:
4545
yaml-file: ${{ matrix.file }}.factory.yaml
4646
version: ${{ matrix.esphome-version }}

.github/workflows/publish-pages.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,25 @@ jobs:
2828
runs-on: ubuntu-latest
2929
steps:
3030
- name: Checkout source code
31-
uses: actions/checkout@v4.2.2
31+
uses: actions/checkout@v4
3232

3333
- run: mkdir -p output/firmware
3434

3535
- name: Build
36-
uses: actions/jekyll-build-pages@v1.0.13
36+
uses: actions/jekyll-build-pages@v1
3737
with:
3838
source: ./static
3939
destination: ./output
4040

4141
- name: Fetch firmware files
42-
uses: robinraju/release-downloader@v1.12
42+
uses: robinraju/release-downloader@v1
4343
with:
4444
latest: true
4545
fileName: '*'
4646
out-file-path: output/firmware
4747

4848
- name: Upload artifact
49-
uses: actions/upload-pages-artifact@v3.0.1
49+
uses: actions/upload-pages-artifact@v3
5050
with:
5151
path: output
5252
retention-days: 1
@@ -65,8 +65,8 @@ jobs:
6565
url: ${{ steps.deployment.outputs.page_url }}
6666
steps:
6767
- name: Setup Pages
68-
uses: actions/configure-pages@v5.0.0
68+
uses: actions/configure-pages@v5
6969

7070
- name: Deploy to GitHub Pages
7171
id: deployment
72-
uses: actions/deploy-pages@v4.0.5
72+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)