4 Commits
main ... dev

Author SHA1 Message Date
Guz
28e92a4288 fix: typo 2023-07-20 16:15:53 -03:00
Guz013
a81db56e29 revert: simplify release branch action 2023-07-07 15:47:19 -03:00
Guz
3da0cb3336 Merge pull request #24 from LoredDev/main
update dev
2023-07-07 15:45:40 -03:00
github-actions[bot]
1ea06fd810 ci: 👷 update dev branch 2023-07-07 18:43:09 +00:00
2 changed files with 20 additions and 3 deletions

View File

@@ -4,12 +4,17 @@ on:
push: push:
branches: branches:
- dev - dev
pull_request:
branches:
- main - main
types:
- closed
concurrency: ${{ github.workflow }}-${{ github.ref }} concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs: jobs:
update-release: update-release:
if: github.ref_name == 'dev'
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
contents: write contents: write
@@ -38,8 +43,20 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Update dev branch update-dev:
if: steps.changesets.outputs.hasChangesets == 'false' if: github.ref_name == 'main' && github.event.pull_request.merged == true && github.event.pull_request.title == '🦋 Release branch'
runs-on: ubuntu-latest
name: Update dev branch
timeout-minutes: 2
env:
HUSKY: 0
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Release to dev
uses: devmasx/merge-branch@master uses: devmasx/merge-branch@master
with: with:
type: now type: now

View File

@@ -1,6 +1,6 @@
MIT License MIT License
Copyright (c) 2023-preset Gustavo "Guz" L. de Mello Copyright (c) 2023-present Gustavo "Guz" L. de Mello
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal