Skip to content

Commit

Permalink
setup Dependabot and Trusted Publishing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ashkulz committed Jan 11, 2025
1 parent da775d1 commit c7007de
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'weekly'
32 changes: 32 additions & 0 deletions .github/workflows/push_gem.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Publish gem to rubygems.org

on:
push:
tags:
- 'v*'

permissions:
contents: read

jobs:
push:
if: github.repository == 'prontolabs/pronto'
runs-on: ubuntu-latest

permissions:
contents: write
id-token: write

steps:
- uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
with:
egress-policy: audit

- uses: actions/checkout@cbb722410c2e876e24abbe8de2cc27693e501dcb # v4.2.2

- uses: ruby/setup-ruby@4a9ddd6f338a97768b8006bf671dfbad383215f4 # v1.207.0
with:
bundler-cache: true
ruby-version: '3.4'

- uses: rubygems/release-gem@a25424ba2ba8b387abc8ef40807c2c85b96cbe32 # v1.1.1

0 comments on commit c7007de

Please sign in to comment.