Skip to content

Commit

Permalink
Merge pull request mas-cli#691 from rgoldberg/590-github
Browse files Browse the repository at this point in the history
Configure GitHub workflows
  • Loading branch information
rgoldberg authored Dec 31, 2024
2 parents 74797d0 + d33b996 commit 49003bc
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 60 deletions.
24 changes: 19 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,24 @@
---
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
- package-ecosystem: github-actions
schedule:
interval: "daily"
interval: daily
directory: /
labels: [📚 dependencies]
commit-message:
prefix: "⬆️"
include: "scope"
prefix: ⬆️
include: scope
- package-ecosystem: swift
schedule:
interval: daily
directory: /
ignore:
- dependency-name: nimble
update-types: major
- dependency-name: quick
update-types: major
labels: [📚 dependencies]
commit-message:
prefix: ⬆️
include: scope
13 changes: 5 additions & 8 deletions .github/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@
---
changelog:
categories:
- title: "🚀 Features"
labels:
- "🆕 feature request"
- title: "🐛 Bug Fixes"
labels:
- "🐛 bug"
- title: 🚀 Features
labels: [🆕 feature request]
- title: 🐛 Bug Fixes
labels: [🐛 bug]
- title: Changes
labels:
- "*"
labels: ["*"]
8 changes: 7 additions & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
concurrency:
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true
permissions: {}
jobs:
build-test:
name: Build, Test, and Lint
Expand All @@ -20,7 +21,12 @@ jobs:
# Force all run commands to not use Rosetta 2
shell: arch -arm64 /bin/zsh -Negku {0}
steps:
- uses: actions/checkout@v4
- name: Checkout
env:
GIT_CONFIG_COUNT: 1
GIT_CONFIG_KEY_0: init.defaultBranch
GIT_CONFIG_VALUE_0: ${{github.event.repository.default_branch}}
uses: actions/checkout@v4
with:
# Include all history & tags for script/version
fetch-depth: 0
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/danger.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .github/workflows/release-published.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ name: release-published
on:
release:
types: [published]
permissions:
actions: read
contents: write
pull-requests: write
defaults:
run:
# Force all run commands to not use Rosetta 2
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tag-pushed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ name: tag-pushed
on:
push:
tags: ["**"]
permissions:
contents: write
defaults:
run:
# Force all run commands to not use Rosetta 2
Expand Down
25 changes: 0 additions & 25 deletions Dangerfile.swift

This file was deleted.

0 comments on commit 49003bc

Please sign in to comment.