Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Commit

Permalink
Bump dependencies by "Check updates #2" (#7)
Browse files Browse the repository at this point in the history
* Bump dependencies by "Check updates #2"

* Add Create release pipeline

Co-authored-by: fabasoad <fabasoad@gmail.com>
  • Loading branch information
github-actions[bot] and fabasoad authored Dec 28, 2020
1 parent 8107215 commit 1f815a3
Show file tree
Hide file tree
Showing 6 changed files with 147 additions and 100 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Check updates

on:
schedule:
- cron: '0 21 * * 6'
- cron: '0 0 1,15 * *'

env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
Expand Down Expand Up @@ -36,7 +36,7 @@ jobs:
run: yarn version --patch --no-git-tag-version
- name: Create PR
if: ${{ steps.git-diff.outputs.count > 0 }}
uses: peter-evans/create-pull-request@v3.5.2
uses: peter-evans/create-pull-request@v3.6.0
with:
author: ${{ github.actor }} <${{ github.actor }}@gmail.com>
base: main
Expand Down
45 changes: 45 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
name: Create release

on:
push:
branches:
- main

jobs:
create_release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
with:
fetch-depth: 0
ref: ${{ github.ref }}
- name: Get commits since last release
id: changes
uses: simbo/changes-since-last-release-action@v1
- name: Get latest version
id: substring
run: |
ver=$(echo "${{ steps.changes.outputs.last-tag }}" | cut -c2-)
echo '::set-output name=version::'$ver
- name: Increase version
id: semver
uses: matt-FFFFFF/simple-semver@v0.1.0
with:
semver-input: ${{ steps.substring.outputs.version }}
increment: p
- name: Create release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ steps.semver.outputs.semver }}
release_name: v${{ steps.semver.outputs.semver }}
body: |
# Changes
${{ steps.changes.outputs.log }}
draft: false
prerelease: false
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
"issuehunt",
"liberapay",
"paambaati",
"semver",
"simbo",
"twilio",
"vercel",
"yamllint"
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "twilio-fax-action",
"version": "1.0.4",
"version": "1.0.5",
"description": "This GitHub action sends fax with the defined text.",
"main": "dist/index.js",
"repository": {
Expand Down Expand Up @@ -34,17 +34,17 @@
},
"devDependencies": {
"@types/jest": "26.0.19",
"@types/node": "14.14.14",
"@typescript-eslint/eslint-plugin": "4.10.0",
"@typescript-eslint/parser": "4.10.0",
"@types/node": "14.14.16",
"@typescript-eslint/eslint-plugin": "4.11.0",
"@typescript-eslint/parser": "4.11.0",
"@vercel/ncc": "0.26.1",
"eslint": "7.16.0",
"eslint-config-google": "0.14.0",
"git-branch-is": "4.0.0",
"husky": "4.3.6",
"jest": "26.6.3",
"jest-circus": "26.6.3",
"snyk": "1.437.2",
"snyk": "1.437.3",
"ts-jest": "26.4.4",
"typescript": "4.1.3"
},
Expand Down
Loading

0 comments on commit 1f815a3

Please sign in to comment.