Skip to content

Commit

Permalink
chore: add release action and pr title validation (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
manumena authored Jun 14, 2022
1 parent caafb79 commit 6ed2cfa
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
day: monday
time: "09:00"
timezone: "America/Buenos_Aires"
open-pull-requests-limit: 10
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: 'release'
on:
workflow_dispatch:
inputs:
dry_run:
description: dry run
type: boolean
required: false
default: false
schedule:
- cron: '30 13 * * 6' # Every Saturday at 13:30 UTC
jobs:
release:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: decentraland/gh-action-release@0.3.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
dry_run: ${{ github.event.inputs.dry_run }}
repository: ${{ github.repository }}
9 changes: 9 additions & 0 deletions .github/workflows/validate-pr-title.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: validate-pr-title

on:
pull_request:
types: [edited, opened, reopened, synchronize]

jobs:
title-matches-convention:
uses: decentraland/actions/.github/workflows/validate-pr-title.yml@main

0 comments on commit 6ed2cfa

Please sign in to comment.