Skip to content

Instantly share code, notes, and snippets.

View dmgallardo's full-sized avatar
🏠
Working from home

Diego Gallardo dmgallardo

🏠
Working from home
View GitHub Profile
@dmgallardo
dmgallardo / bootstrap.js
Created July 10, 2020 21:18
strapi-starter-blog/config/functions/bootstrap.js
"use strict";
require("dotenv").config();
/**
* An asynchronous bootstrap function that runs before
* your application gets started.
*
* This gives you an opportunity to set up your data model,
* run jobs, or perform some special logic.
*
* See more details here: https://strapi.io/documentation/3.0.0-beta.x/concepts/configurations.html#bootstrap
@dmgallardo
dmgallardo / 01_github-action-create-release-on-merge.md
Created January 6, 2023 18:31 — forked from UVLabs/01_github-action-create-release-on-merge.md
Github Action: Create Tag and Release when a pull request is merged into master/main branch with release notes parsed from merge comment

This Github Action workflow along with the rest of these files/scripts will allow you to create a Tag as well as a Release with the release notes set to the text added in the body of the merge comment when a pull request is merged.

Create release on merge github action

Note:

Merge comment title needs to contain the text "release" or else the workflow will not run (see line 11 of create-release.yml).