mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-08-17 23:57:12 +02:00
chore: update CI/CD workflows, Homebrew and new contributors (#552)
This commit is contained in:
@@ -5,13 +5,14 @@ updates:
|
|||||||
schedule:
|
schedule:
|
||||||
interval: "weekly"
|
interval: "weekly"
|
||||||
open-pull-requests-limit: 10
|
open-pull-requests-limit: 10
|
||||||
target-branch: dev
|
target-branch: main
|
||||||
# ignore:
|
ignore:
|
||||||
# - dependency-name: "example-package"
|
- dependency-name: "modernc.org/sqlite"
|
||||||
# versions: ["2.x.x"]
|
versions: [">=1.32.0"] # v1.32+ requires Go 1.21, project is pinned to Go 1.20
|
||||||
|
- dependency-name: "golang.org/x/text" # will be removed in upcoming refactoring
|
||||||
- package-ecosystem: "github-actions"
|
- package-ecosystem: "github-actions"
|
||||||
directory: "/"
|
directory: "/"
|
||||||
schedule:
|
schedule:
|
||||||
interval: "monthly"
|
interval: "monthly"
|
||||||
open-pull-requests-limit: 5
|
open-pull-requests-limit: 8
|
||||||
target-branch: dev
|
target-branch: main
|
||||||
|
|||||||
@@ -1,31 +0,0 @@
|
|||||||
name-template: 'hack-browser-data-$RESOLVED_VERSION'
|
|
||||||
tag-template: 'v$RESOLVED_VERSION'
|
|
||||||
categories:
|
|
||||||
- title: '🚀 Features'
|
|
||||||
labels:
|
|
||||||
- 'feature'
|
|
||||||
- 'enhancement'
|
|
||||||
- title: '🐛 Bug Fixes'
|
|
||||||
labels:
|
|
||||||
- 'fix'
|
|
||||||
- 'bugfix'
|
|
||||||
- 'bug'
|
|
||||||
- title: '🧰 Maintenance'
|
|
||||||
label: 'chore'
|
|
||||||
- title: '📖 Document'
|
|
||||||
label: 'doc'
|
|
||||||
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
|
|
||||||
version-resolver:
|
|
||||||
major:
|
|
||||||
labels:
|
|
||||||
- 'major'
|
|
||||||
minor:
|
|
||||||
labels:
|
|
||||||
- 'minor'
|
|
||||||
patch:
|
|
||||||
labels:
|
|
||||||
- 'patch'
|
|
||||||
default: patch
|
|
||||||
template: |
|
|
||||||
## Changes
|
|
||||||
$CHANGES
|
|
||||||
@@ -18,7 +18,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- uses: actions/setup-go@v6
|
- uses: actions/setup-go@v6
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -1,21 +1,38 @@
|
|||||||
name: Contributors
|
name: Contributors
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
|
||||||
- cron: '0 1 * * 0' # At 01:00 on Sunday.
|
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
paths-ignore:
|
||||||
|
- README.md
|
||||||
|
schedule:
|
||||||
|
- cron: '0 1 1 * *' # 1st of each month at 01:00 UTC
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
|
||||||
logLevel:
|
|
||||||
description: 'manual run'
|
|
||||||
required: false
|
|
||||||
default: ''
|
|
||||||
jobs:
|
jobs:
|
||||||
contributors:
|
contributors:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: bubkoo/contributors-list@v1
|
- name: Generate app token
|
||||||
|
uses: actions/create-github-app-token@v3
|
||||||
|
id: app-token
|
||||||
with:
|
with:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
app-id: ${{ secrets.HACKBROWSERDATA_BOT_APP_ID }}
|
||||||
round: true
|
private-key: ${{ secrets.HACKBROWSERDATA_BOT_PRIVATE_KEY }}
|
||||||
|
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
token: ${{ steps.app-token.outputs.token }}
|
||||||
|
|
||||||
|
- name: Update contributors list
|
||||||
|
uses: akhilmhdh/contributors-readme-action@v2.3.11
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
|
||||||
|
with:
|
||||||
|
image_size: 100
|
||||||
|
columns_per_row: 6
|
||||||
|
readme_path: README.md
|
||||||
|
auto_detect_branch_protection: false
|
||||||
|
commit_message: 'chore: update contributors list [skip ci]'
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- uses: actions/setup-go@v6
|
- uses: actions/setup-go@v6
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -5,14 +5,13 @@ on:
|
|||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
pull-requests: write
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
goreleaser:
|
goreleaser:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
@@ -22,17 +21,10 @@ jobs:
|
|||||||
go-version-file: go.mod
|
go-version-file: go.mod
|
||||||
|
|
||||||
- name: Run GoReleaser
|
- name: Run GoReleaser
|
||||||
uses: goreleaser/goreleaser-action@v6
|
uses: goreleaser/goreleaser-action@v7
|
||||||
with:
|
with:
|
||||||
version: '~> v2'
|
version: '~> v2'
|
||||||
args: release --clean --draft
|
args: release --clean --draft
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
|
||||||
update_release_draft:
|
|
||||||
needs: goreleaser
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: release-drafter/release-drafter@v6
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ jobs:
|
|||||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- uses: actions/setup-go@v6
|
- uses: actions/setup-go@v6
|
||||||
with:
|
with:
|
||||||
|
|||||||
+26
-1
@@ -30,7 +30,11 @@ builds:
|
|||||||
archives:
|
archives:
|
||||||
- id: "archive"
|
- id: "archive"
|
||||||
formats:
|
formats:
|
||||||
- zip
|
- tar.gz
|
||||||
|
format_overrides:
|
||||||
|
- goos: windows
|
||||||
|
formats:
|
||||||
|
- zip
|
||||||
files:
|
files:
|
||||||
- README.md
|
- README.md
|
||||||
- LICENSE
|
- LICENSE
|
||||||
@@ -62,5 +66,26 @@ checksum:
|
|||||||
name_template: "checksums-v{{ .Version }}.txt"
|
name_template: "checksums-v{{ .Version }}.txt"
|
||||||
algorithm: sha256
|
algorithm: sha256
|
||||||
|
|
||||||
|
brews:
|
||||||
|
- name: hack-browser-data
|
||||||
|
homepage: "https://github.com/moonD4rk/HackBrowserData"
|
||||||
|
description: "Extract and decrypt browser data from multiple browsers"
|
||||||
|
license: "MIT"
|
||||||
|
directory: Formula
|
||||||
|
skip_upload: auto
|
||||||
|
repository:
|
||||||
|
owner: moonD4rk
|
||||||
|
name: homebrew-tap
|
||||||
|
branch: main
|
||||||
|
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
|
||||||
|
commit_author:
|
||||||
|
name: "github-actions[bot]"
|
||||||
|
email: "github-actions[bot]@users.noreply.github.com"
|
||||||
|
commit_msg_template: "brew formula update for {{ .ProjectName }} version {{ .Tag }}"
|
||||||
|
install: |
|
||||||
|
bin.install "hack-browser-data"
|
||||||
|
test: |
|
||||||
|
system "#{bin}/hack-browser-data", "version"
|
||||||
|
|
||||||
release:
|
release:
|
||||||
prerelease: auto
|
prerelease: auto
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 4.0 MiB |
@@ -191,7 +191,8 @@ Please see the [Contribution Guide](CONTRIBUTING.md) before contributing.
|
|||||||
|
|
||||||
## Contributors
|
## Contributors
|
||||||
|
|
||||||

|
<!-- readme: collaborators,contributors -start -->
|
||||||
|
<!-- readme: collaborators,contributors -end -->
|
||||||
|
|
||||||
## Stargazers over time
|
## Stargazers over time
|
||||||
[](https://github.com/moond4rk/HackBrowserData)
|
[](https://github.com/moond4rk/HackBrowserData)
|
||||||
|
|||||||
Reference in New Issue
Block a user