All Projects → dawidd6 → action-homebrew-bump-formula

dawidd6 / action-homebrew-bump-formula

Licence: MIT license
⚙️ A GitHub Action to easily bump Homebrew formula on new release

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to action-homebrew-bump-formula

setup-jdk
(DEPRECATED) Set up your GitHub Actions workflow with a specific version of AdoptOpenJDK
Stars: ✭ 32 (-52.94%)
Mutual labels:  actions, action, github-actions
homebrew-adobe
@Homebrew tap for @adobe apps and plugins.
Stars: ✭ 24 (-64.71%)
Mutual labels:  homebrew, tap, formula
clojure-dependency-update-action
A simple GitHub Actions job to create Pull Requests for outdated dependencies in clojure projects
Stars: ✭ 37 (-45.59%)
Mutual labels:  actions, action, github-actions
rubocop-linter-action
Rubocop Linter Action: A GitHub Action to run Rubocop against your code!
Stars: ✭ 86 (+26.47%)
Mutual labels:  actions, action, github-actions
action-autotag
Automatically generate a new tag when the manifest file (package.json, Dockerfile, custom file, etc) version changes.
Stars: ✭ 45 (-33.82%)
Mutual labels:  actions, action, github-actions
dart-package-publisher
Action to Publish Dart / Flutter Package To https://pub.dev When you need to publish a package, just bump the version in pubspec.yaml
Stars: ✭ 45 (-33.82%)
Mutual labels:  actions, action, github-actions
actions
Collection of repetitive GitHub Actions
Stars: ✭ 12 (-82.35%)
Mutual labels:  actions, action, github-actions
actions
Set of actions for implementing CI/CD with werf and GitHub Actions
Stars: ✭ 67 (-1.47%)
Mutual labels:  actions, action, github-actions
ssh2actions
Connect to GitHub Actions VM via SSH for interactive debugging
Stars: ✭ 62 (-8.82%)
Mutual labels:  actions, action, github-actions
assign-one-project-github-action
Automatically add an issue or pull request to specific GitHub Project(s) when you create and/or label them.
Stars: ✭ 140 (+105.88%)
Mutual labels:  actions, action, github-actions
jest-github-action
Jest action adding checks with annotations to your pull requests and coverage table as comments
Stars: ✭ 134 (+97.06%)
Mutual labels:  actions, action, github-actions
github-run-tests-action
mabl Github Actions implementation
Stars: ✭ 39 (-42.65%)
Mutual labels:  actions, action, github-actions
action-sync-node-meta
GitHub Action that syncs package.json with the repository metadata.
Stars: ✭ 25 (-63.24%)
Mutual labels:  actions, action, github-actions
upx-action
Strips and runs upx on binaries
Stars: ✭ 17 (-75%)
Mutual labels:  actions, action, github-actions
Goreleaser
Deliver Go binaries as fast and easily as possible
Stars: ✭ 9,290 (+13561.76%)
Mutual labels:  homebrew, github-actions
Homebrew Bundle
📦 Bundler for non-Ruby dependencies from Homebrew, Homebrew Cask and the Mac App Store.
Stars: ✭ 3,940 (+5694.12%)
Mutual labels:  homebrew, tap
Homebrew Core
🍻 Default formulae for the missing package manager for macOS (or Linux)
Stars: ✭ 10,450 (+15267.65%)
Mutual labels:  homebrew, tap
Homebrew Services
🚀 Manage background services with macOS' launchctl daemon manager
Stars: ✭ 1,656 (+2335.29%)
Mutual labels:  homebrew, tap
actions
🚀 Homebrew's GitHub Actions
Stars: ✭ 60 (-11.76%)
Mutual labels:  homebrew, actions
Homebrew Livecheck
💀 Homebrew/homebrew-livecheck (deprecated)
Stars: ✭ 104 (+52.94%)
Mutual labels:  homebrew, tap

Homebrew bump formula GitHub Action

An action that wraps brew bump-formula-pr to ease the process of updating the formula on new project releases.

Works on Ubuntu and macOS runners.

Usage

One should use the Personal Access Token for token input to this Action, not the default GITHUB_TOKEN, because brew bump-formula-pr creates a fork of the formula's tap repository (if needed) and then creates a pull request.

There are two ways to use this Action.

Standard mode

Use if you want to simply bump the formula, when a new release happens.

Listen for new tags in workflow:

on:
  push:
    tags:
      - '*'

The Action will extract all needed informations by itself, you just need to specify the following step in your workflow:

- name: Update Homebrew formula
  uses: dawidd6/action-homebrew-bump-formula@v3
  with:
    # Required, custom GitHub access token with the 'public_repo' and 'workflow' scopes
    token: ${{secrets.TOKEN}}
    # Optional, will create tap repo fork in organization
    org: ORG
    # Optional, defaults to homebrew/core
    tap: USER/REPO
    # Formula name, required
    formula: FORMULA
    # Optional, will be determined automatically
    tag: ${{github.ref}}
    # Optional, will be determined automatically
    revision: ${{github.sha}}
    # Optional, if don't want to check for already open PRs
    force: false # true

Livecheck mode

If livecheck input is set to true, the Action will run brew livecheck to check if any provided formulae are outdated or if tap contains any outdated formulae and then will run brew bump-formula-pr on each of those formulae with proper arguments to bump them.

Might be a good idea to run this on schedule in your tap repo, so one gets automated PRs updating outdated formulae.

If there are no outdated formulae, the Action will just exit.

- name: Update Homebrew formula
  uses: dawidd6/action-homebrew-bump-formula@v3
  with:
    # Required, custom GitHub access token with only the 'public_repo' scope enabled
    token: ${{secrets.TOKEN}}
    # Optional, will create tap repo fork in organization
    org: ORG
    # Bump all outdated formulae in this tap
    tap: USER/REPO
    # Bump only these formulae if outdated
    formula: FORMULA-1, FORMULA-2, FORMULA-3, ...
    # Optional, if don't want to check for already open PRs
    force: false # true
    # Need to set this input if want to use `brew livecheck`
    livecheck: true

If only tap input is provided, all formulae in given tap will be checked and bumped if needed.

Examples

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].