Skip to content

Commit b23a9ed

Browse files
author
bakebot
committed
Cookie updated targeting develop by NetworkToCode Cookie Drift Manager Tool
Template: ``` { "template": "https://github.com/networktocode-llc/cookiecutter-ntc.git", "dir": "python", "ref": "main", "path": "/__w/cookiecutter-nautobot-app-drift-manager/cookiecutter-nautobot-app-drift-manager/cookiecutter-ntc/python" } ``` Cookie: ``` { "remote": "https://github.com/networktocode/netutils.git", "path": "/tmp/tmp26lnkcv1/netutils", "repository_path": "/tmp/tmp26lnkcv1/netutils", "dir": "", "branch_prefix": "drift-manager/develop", "context": { "codeowner_github_usernames": "@itdependsnetworks @jeffkala @qduk", "full_name": "Network to Code, LLC", "email": "info@networktocode.com", "github_org": "networktocode", "description": "Common helper functions useful in network automation.", "project_name": "netutils", "project_slug": "netutils", "repo_url": "https://github.com/networktocode/netutils", "base_url": "netutils", "project_python_name": "netutils", "project_python_base_version": "3.9", "project_with_config_settings": "no", "generate_docs": "yes", "version": "1.15.1", "original_publish_year": "2025", "_template": "/__w/cookiecutter-nautobot-app-drift-manager/cookiecutter-nautobot-app-drift-manager/cookiecutter-ntc/python", "_output_dir": "/tmp/tmp26lnkcv1", "_repo_dir": "/__w/cookiecutter-nautobot-app-drift-manager/cookiecutter-nautobot-app-drift-manager/cookiecutter-ntc/python", "_checkout": null }, "drift_managed_branch": "develop", "remote_name": "origin", "pull_request_strategy": "PullRequestStrategy.UPDATE_OR_CREATE", "post_actions": [], "baked_commit_ref": "cb8b5e31dece5ab2663d2ffd218a96ca1ae794c5", "draft": false } ``` CLI Arguments: ``` { "cookie_dir": "", "input": false, "json_filename": "", "output_dir": "", "push": true, "template": "./cookiecutter-ntc", "template_dir": "python", "template_ref": "main", "pull_request": "update-or-create", "post_action": [], "disable_post_actions": true, "draft": null, "drift_managed_branch": "develop" } ```
1 parent 6421cae commit b23a9ed

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ jobs:
1717
poetry-version: "2.1.3"
1818
python-version: "3.13"
1919
poetry-install-options: "--no-root"
20-
- name: "Build Documentation"
21-
run: "poetry run invoke build-and-check-docs"
2220
- name: "Run Poetry Build"
2321
run: "poetry build"
2422

@@ -58,18 +56,20 @@ jobs:
5856
if: "startsWith(github.ref, 'refs/tags/v')"
5957
needs: "build"
6058
environment: "pypi"
61-
permissions:
62-
# IMPORTANT: this permission is mandatory for Trusted Publishing
63-
id-token: "write"
59+
# Steps to publish to PyPI.
6460
steps:
6561
- name: "Retrieve built package from cache"
6662
uses: "actions/download-artifact@v4"
6763
with:
6864
name: "distfiles"
6965
path: "dist/"
70-
7166
- name: "Publish package distributions to PyPI"
7267
uses: "pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e" # v1.13.0
68+
## Used for networktocode org since trusted publisher isn't supported for GitHub Plan.
69+
with:
70+
user: "__token__"
71+
password: "${{ secrets.PYPI_API_TOKEN }}"
72+
# End publish to PyPI job.
7373

7474
slack-notify:
7575
needs:

0 commit comments

Comments
 (0)