Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump dependencies by "Check updates #10" #13

Merged
merged 2 commits into from
May 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "monthly"
reviewers:
- "fabasoad"
labels:
- "dependencies"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
reviewers:
- "fabasoad"
labels:
- "dependencies"
66 changes: 0 additions & 66 deletions .github/workflows/check-updates.yml

This file was deleted.

41 changes: 21 additions & 20 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Create release

on:
push:
branches:
- main
tags:
- 'v*'

jobs:
create_release:
Expand All @@ -14,32 +14,33 @@ jobs:
- uses: actions/[email protected]
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
- name: Get latest release tag
id: latest_release
run: |
ver=$(echo "${{ steps.changes.outputs.last-tag }}" | cut -c2-)
echo '::set-output name=version::'$ver
- name: Increase version
id: semver
uses: matt-FFFFFF/[email protected]
with:
semver-input: ${{ steps.substring.outputs.version }}
increment: p
latest_tag=$(curl --silent "https://api.github.com/repos/${{ github.repository }}/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
echo "::set-output name=tag::${latest_tag}"
- name: Get current release tag
id: current_release
run: echo "::set-output name=tag::${GITHUB_REF/refs\/tags\//}"
- name: Build changelog
id: changelog
run: |
body=$(git log --pretty=oneline ${{ steps.latest_release.outputs.tag }}..${{ steps.current_release.outputs.tag }})
body="${body//'%'/'%25'}"
body="${body//$'\n'/'%0A'}"
body="${body//$'\r'/'%0D'}"
echo "::set-output name=body::${body}"
- 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 }}
tag_name: ${{ github.ref }}
release_name: ${{ steps.current_release.outputs.tag }}
body: |
# Changes
# Changelog

${{ steps.changes.outputs.log }}
${{ steps.changelog.outputs.body }}
draft: false
prerelease: false
2 changes: 1 addition & 1 deletion .github/workflows/functional-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches:
- 'main'
- 'bugfix/**'
- 'bump/patch-*'
- 'dependabot/*'
- 'feature/**'

env:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/security-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ on:
branches:
- 'main'
- 'bugfix/**'
- 'bump/patch-*'
- 'dependabot/*'
- 'feature/**'
schedule:
- cron: '25 2 * * 6'

jobs:
snyk_tests:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches:
- 'main'
- 'bugfix/**'
- 'bump/patch-*'
- 'dependabot/*'
- 'feature/**'

env:
Expand All @@ -21,7 +21,7 @@ jobs:
- uses: actions/[email protected]
- name: Cache node_modules
id: cache
uses: actions/[email protected].4
uses: actions/[email protected].5
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/yaml-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: ibiqlik/[email protected].0
- uses: ibiqlik/[email protected].1
with:
config_file: .yamllint.yml
strict: false
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": "setup-brainfuck-action",
"version": "1.0.12",
"version": "1.0.13",
"description": "This GitHub action installs one of the brainfuck interpreters called brainfucky.",
"main": "dist/index.js",
"repository": {
Expand Down Expand Up @@ -31,21 +31,21 @@
},
"homepage": "https://github.com/fabasoad/setup-brainfuck-action#readme",
"dependencies": {
"@actions/core": "1.2.6",
"@actions/core": "1.2.7",
"@actions/exec": "1.0.4"
},
"devDependencies": {
"@vercel/ncc": "0.28.2",
"@vercel/ncc": "0.28.4",
"chai": "4.3.4",
"eslint": "7.24.0",
"eslint": "7.25.0",
"eslint-config-google": "0.14.0",
"git-branch-is": "4.0.0",
"husky": "6.0.0",
"markdownlint-cli": "0.27.1",
"mocha": "8.3.2",
"mocha-param": "2.0.1",
"nyc": "15.1.0",
"snyk": "1.530.0"
"snyk": "1.574.0"
},
"snyk": true
}
Loading