FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Bump the npm_and_yarn group across 1 directory with 3 updates by dependabot[bot] · Pull Request #8 · useblacksmith/setup-python · GitHub

This repository was archived by the owner on Oct 14, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension .js  (2) .json  (2) .yml  (2) All 3 file types selected
Only manifest files
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
47 changes: 47 additions & 0 deletions .github/workflows/bump-cache-version.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Bump Cache Version

on:
workflow_dispatch:
inputs:
cache_version:
description: "New @useblacksmith/cache version"
required: true
type: string

jobs:
bump-cache-version:
runs-on: blacksmith
steps:
- uses: actions/checkout@v4

- name: Update package.json
run: |
sed -i 's/"@actions\/cache": "npm:@useblacksmith\/cache@[^"]*"/"@actions\/cache": "npm:@useblacksmith\/cache@${{ github.event.inputs.cache_version }}"/' package.json

- name: Install dependencies
run: npm install

- name: Build
run: npm run build

- name: Check for changes
id: git-check
run: |
git diff --exit-code || echo "changes=true" >> $GITHUB_OUTPUT

- name: Create Pull Request
if: steps.git-check.outputs.changes == 'true'
env:
GH_TOKEN: ${{ github.token }}
run: |
git config user.name github-actions[bot]
git config user.email github-actions[bot]@users.noreply.github.com
git fetch origin main
git checkout main
git pull origin main
timestamp=$(date +%Y%m%d%H%M%S)
git checkout -b bump-cache-version-${{ github.event.inputs.cache_version }}-$timestamp
git add .
git commit -m "Bump @actions/cache version to ${{ github.event.inputs.cache_version }}"
git push origin bump-cache-version-${{ github.event.inputs.cache_version }}-$timestamp
gh pr create --title "Bump @actions/cache version to ${{ github.event.inputs.cache_version }}" --body "This PR updates the @actions/cache version to ${{ github.event.inputs.cache_version }}"
32 changes: 32 additions & 0 deletions .github/workflows/bump-tag.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Bump Tags on Main

on:
push:
branches:
- main

jobs:
bump-tags:
runs-on: blacksmith
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Update v6 tag
run: |
git config user.name github-actions[bot]
git config user.email github-actions[bot]@users.noreply.github.com
git tag -fa v6 -m "Update v6 tag to latest commit on main"
git push origin v6 --force

- name: Send Slack notification on success
uses: slackapi/slack-github-action@v1
with:
payload: |
{
"text": "Updated setup-python v6 tag to the latest commit on main"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.CACHE_SLACK_WEBHOOK_URL }}
Loading

Back | FazBrowse Home | New Git URL