Skip to content

Commit 7ed7481

Browse files
committed
update ntc actions to use main branch until tagged versions is setup
1 parent 4c88e3f commit 7ed7481

4 files changed

Lines changed: 14 additions & 14 deletions

File tree

‎.github/workflows/_tag-major.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
# Keeps the floating major tag (v1, v2, ...) pointing at the newest release so callers can pin `@v1`.
2+
# Keeps the floating major tag (v1, v2, ...) pointing at the newest release so callers can pin `@main`.
33
name: "Update major version tag"
44
on: # yamllint disable-line rule:truthy rule:comments
55
release:

‎.github/workflows/ntc-ci.yml‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#
1010
# jobs:
1111
# ci:
12-
# uses: "networktocode/github-reusable-workflows/.github/workflows/ntc-ci.yml@v1"
12+
# uses: "networktocode/github-reusable-workflows/.github/workflows/ntc-ci.yml@main"
1313
# with:
1414
# project_type: "nautobot-app"
1515
# project_name: "nautobot-golden-config"
@@ -244,7 +244,7 @@ jobs:
244244
uses: "actions/checkout@v7"
245245
- name: "Setup environment"
246246
if: "needs.config.outputs.regenerate_lockfile == 'true'"
247-
uses: "networktocode/github-reusable-workflows/.github/actions/setup-poetry-environment@v1"
247+
uses: "networktocode/github-reusable-workflows/.github/actions/setup-poetry-environment@main"
248248
with:
249249
poetry-version: "${{ inputs.poetry_version }}"
250250
poetry-install-options: "--only-root"
@@ -277,7 +277,7 @@ jobs:
277277
with:
278278
name: "poetry-lock"
279279
- name: "Setup environment"
280-
uses: "networktocode/github-reusable-workflows/.github/actions/setup-poetry-environment@v1"
280+
uses: "networktocode/github-reusable-workflows/.github/actions/setup-poetry-environment@main"
281281
with:
282282
poetry-version: "${{ inputs.poetry_version }}"
283283
- name: "Linting: ${{ matrix.check }}"
@@ -301,7 +301,7 @@ jobs:
301301
with:
302302
name: "poetry-lock"
303303
- name: "Setup environment"
304-
uses: "networktocode/github-reusable-workflows/.github/actions/setup-poetry-environment@v1"
304+
uses: "networktocode/github-reusable-workflows/.github/actions/setup-poetry-environment@main"
305305
with:
306306
poetry-version: "${{ inputs.poetry_version }}"
307307
poetry-install-options: "--only dev,docs"
@@ -320,7 +320,7 @@ jobs:
320320
- name: "Check out repository code"
321321
uses: "actions/checkout@v7"
322322
- name: "Setup environment"
323-
uses: "networktocode/github-reusable-workflows/.github/actions/setup-poetry-environment@v1"
323+
uses: "networktocode/github-reusable-workflows/.github/actions/setup-poetry-environment@main"
324324
with:
325325
poetry-version: "${{ inputs.poetry_version }}"
326326
- name: "Checking: poetry lock file"
@@ -344,7 +344,7 @@ jobs:
344344
- name: "Check out repository code"
345345
uses: "actions/checkout@v7"
346346
- name: "Setup environment"
347-
uses: "networktocode/github-reusable-workflows/.github/actions/setup-poetry-environment@v1"
347+
uses: "networktocode/github-reusable-workflows/.github/actions/setup-poetry-environment@main"
348348
with:
349349
poetry-version: "${{ inputs.poetry_version }}"
350350
- name: "Configure invoke environment and image tag"
@@ -427,7 +427,7 @@ jobs:
427427
- name: "Check out repository code"
428428
uses: "actions/checkout@v7"
429429
- name: "Setup environment"
430-
uses: "networktocode/github-reusable-workflows/.github/actions/setup-poetry-environment@v1"
430+
uses: "networktocode/github-reusable-workflows/.github/actions/setup-poetry-environment@main"
431431
with:
432432
poetry-version: "${{ inputs.poetry_version }}"
433433
# Libraries run pytest locally, so the host interpreter must match the matrix entry.
@@ -497,7 +497,7 @@ jobs:
497497
- name: "Check out repository code"
498498
uses: "actions/checkout@v7"
499499
- name: "Setup environment"
500-
uses: "networktocode/github-reusable-workflows/.github/actions/setup-poetry-environment@v1"
500+
uses: "networktocode/github-reusable-workflows/.github/actions/setup-poetry-environment@main"
501501
with:
502502
poetry-version: "${{ inputs.poetry_version }}"
503503
- name: "Constrain Nautobot version and regenerate lock file"
@@ -563,7 +563,7 @@ jobs:
563563
with:
564564
name: "poetry-lock"
565565
- name: "Setup environment"
566-
uses: "networktocode/github-reusable-workflows/.github/actions/setup-poetry-environment@v1"
566+
uses: "networktocode/github-reusable-workflows/.github/actions/setup-poetry-environment@main"
567567
with:
568568
poetry-version: "${{ inputs.poetry_version }}"
569569
- name: "Check for changelog entry"

‎.github/workflows/ntc-prepare-release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
fetch-depth: 0 # Fetch all history for git tags
7777

7878
- name: "Setup environment"
79-
uses: "networktocode/github-reusable-workflows/.github/actions/setup-poetry-environment@v1"
79+
uses: "networktocode/github-reusable-workflows/.github/actions/setup-poetry-environment@main"
8080
with:
8181
poetry-version: "${{ inputs.poetry_version }}"
8282
poetry-install-options: "--with dev"

‎.github/workflows/ntc-release.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
esac
9090
- uses: "actions/checkout@v7"
9191
- name: "Setup environment"
92-
uses: "networktocode/github-reusable-workflows/.github/actions/setup-poetry-environment@v1"
92+
uses: "networktocode/github-reusable-workflows/.github/actions/setup-poetry-environment@main"
9393
with:
9494
poetry-version: "${{ inputs.poetry_version }}"
9595
python-version: "${{ inputs.python_version }}"
@@ -158,7 +158,7 @@ jobs:
158158
uses: "actions/checkout@v7"
159159
- name: "Setup environment"
160160
if: "inputs.publish_target == 'artifactory'"
161-
uses: "networktocode/github-reusable-workflows/.github/actions/setup-poetry-environment@v1"
161+
uses: "networktocode/github-reusable-workflows/.github/actions/setup-poetry-environment@main"
162162
with:
163163
poetry-version: "${{ inputs.poetry_version }}"
164164
python-version: "${{ inputs.python_version }}"
@@ -224,7 +224,7 @@ jobs:
224224
fetch-depth: 0
225225

226226
- name: "Setup environment"
227-
uses: "networktocode/github-reusable-workflows/.github/actions/setup-poetry-environment@v1"
227+
uses: "networktocode/github-reusable-workflows/.github/actions/setup-poetry-environment@main"
228228
with:
229229
poetry-version: "${{ inputs.poetry_version }}"
230230
poetry-install-options: "--no-root"

0 commit comments

Comments
 (0)