summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMarc Cornellà <marc@mcornella.com>2025-12-01 11:22:14 +0100
committerGitHub <noreply@github.com>2025-12-01 11:22:14 +0100
commite9fc134236323ce3ce376715b1e55a54ed6ac7ac (patch)
tree19d78ca60f3ca7ea17fecab8d7286da91da947b4 /.github
parent977c4f93a65e9befbb6b960c7062f24c5fca6059 (diff)
downloadzsh-e9fc134236323ce3ce376715b1e55a54ed6ac7ac.tar.gz
zsh-e9fc134236323ce3ce376715b1e55a54ed6ac7ac.tar.bz2
zsh-e9fc134236323ce3ce376715b1e55a54ed6ac7ac.zip
ci(dependencies): update job permissions, change commits to `chore` (#13457)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/dependencies.yml5
-rw-r--r--.github/workflows/dependencies/updater.py4
2 files changed, 4 insertions, 5 deletions
diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml
index 000589087..a21803ec6 100644
--- a/.github/workflows/dependencies.yml
+++ b/.github/workflows/dependencies.yml
@@ -4,14 +4,13 @@ on:
schedule:
- cron: "0 6 * * 0"
-permissions:
- contents: write
-
jobs:
check:
name: Check for updates
runs-on: ubuntu-latest
if: github.repository == 'ohmyzsh/ohmyzsh'
+ permissions:
+ contents: write # this is needed to push commits and branches
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
diff --git a/.github/workflows/dependencies/updater.py b/.github/workflows/dependencies/updater.py
index aee15d9e0..783161d6c 100644
--- a/.github/workflows/dependencies/updater.py
+++ b/.github/workflows/dependencies/updater.py
@@ -238,7 +238,7 @@ class Dependency:
# Create GitHub PR
GitHub.create_pr(
branch,
- f"feat({self.name}): update to version {new_version}",
+ f"chore({self.name}): update to version {new_version}",
f"""## Description
Update for **{self.desc}**: update to version [{new_version}]({status["head_url"]}).
@@ -423,7 +423,7 @@ class Git:
f"user.email={user_email}",
"commit",
"-m",
- f"feat({scope}): update to {version}",
+ f"chore({scope}): update to {version}",
],
stage="CreateCommit",
env=clean_env,