mirror of
https://github.com/rlespinasse/github-slug-action.git
synced 2026-06-10 16:43:09 +00:00
Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2daab132aa | ||
|
|
26c5c6b51c | ||
|
|
4a00c29bc1 | ||
|
|
c0fb0bc1a5 | ||
|
|
60beba5b25 | ||
|
|
7bf92d88ff | ||
|
|
ae2f6b069b | ||
|
|
7c02e68015 | ||
|
|
5150a26d43 | ||
|
|
dedf4ac5bb |
11
.github/workflows/codeql-analysis.yml
vendored
11
.github/workflows/codeql-analysis.yml
vendored
@@ -10,6 +10,10 @@ on:
|
|||||||
schedule:
|
schedule:
|
||||||
- cron: '0 6 * * 1'
|
- cron: '0 6 * * 1'
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
analyse:
|
analyse:
|
||||||
name: analyze
|
name: analyze
|
||||||
@@ -19,10 +23,9 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
language: ['javascript']
|
language: ['javascript']
|
||||||
steps:
|
steps:
|
||||||
- uses: technote-space/auto-cancel-redundant-workflow@v1
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: github/codeql-action/init@v1
|
- uses: github/codeql-action/init@v2
|
||||||
with:
|
with:
|
||||||
languages: ${{ matrix.language }}
|
languages: ${{ matrix.language }}
|
||||||
- uses: github/codeql-action/autobuild@v1
|
- uses: github/codeql-action/autobuild@v2
|
||||||
- uses: github/codeql-action/analyze@v1
|
- uses: github/codeql-action/analyze@v2
|
||||||
|
|||||||
2
.github/workflows/github-slug.yml
vendored
2
.github/workflows/github-slug.yml
vendored
@@ -11,7 +11,9 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- run: npm install
|
- run: npm install
|
||||||
|
shell: bash
|
||||||
- run: npm run all
|
- run: npm run all
|
||||||
|
shell: bash
|
||||||
- uses: ./
|
- uses: ./
|
||||||
- name: Partial variables
|
- name: Partial variables
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
6
.github/workflows/release-dryrun.yml
vendored
6
.github/workflows/release-dryrun.yml
vendored
@@ -5,14 +5,18 @@ on:
|
|||||||
branches-ignore:
|
branches-ignore:
|
||||||
- v*.x
|
- v*.x
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release-dryrun:
|
release-dryrun:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: technote-space/auto-cancel-redundant-workflow@v1
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- run: npm install
|
- run: npm install
|
||||||
|
shell: bash
|
||||||
- run: npm run all
|
- run: npm run all
|
||||||
|
shell: bash
|
||||||
- uses: ./
|
- uses: ./
|
||||||
- uses: cycjimmy/semantic-release-action@v3
|
- uses: cycjimmy/semantic-release-action@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -5,14 +5,18 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- v*.x
|
- v*.x
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: technote-space/auto-cancel-redundant-workflow@v1
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- run: npm install
|
- run: npm install
|
||||||
|
shell: bash
|
||||||
- run: npm run all
|
- run: npm run all
|
||||||
|
shell: bash
|
||||||
- uses: cycjimmy/semantic-release-action@v3
|
- uses: cycjimmy/semantic-release-action@v3
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
21
CHANGELOG.md
21
CHANGELOG.md
@@ -1,3 +1,24 @@
|
|||||||
|
# [3.9.0](https://github.com/rlespinasse/github-slug-action/compare/v3.8.0...v3.9.0) (2024-01-28)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* use node20 as action run mode ([#138](https://github.com/rlespinasse/github-slug-action/issues/138)) ([26c5c6b](https://github.com/rlespinasse/github-slug-action/commit/26c5c6b51cfc01c811f8a14ddd9d9bcb43948328))
|
||||||
|
|
||||||
|
# [3.8.0](https://github.com/rlespinasse/github-slug-action/compare/v3.7.1...v3.8.0) (2023-10-20)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* use node16 as action run mode ([7bf92d8](https://github.com/rlespinasse/github-slug-action/commit/7bf92d88ffb302024ab1f11ced51360f041f1b5e))
|
||||||
|
|
||||||
|
## [3.7.1](https://github.com/rlespinasse/github-slug-action/compare/v3.7.0...v3.7.1) (2022-10-15)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* use environment file to manage outputs ([dedf4ac](https://github.com/rlespinasse/github-slug-action/commit/dedf4ac5bbb50aeb6992c8323d2862843079f1b4))
|
||||||
|
|
||||||
# [3.7.0](https://github.com/rlespinasse/github-slug-action/compare/v3.6.1...v3.7.0) (2022-10-02)
|
# [3.7.0](https://github.com/rlespinasse/github-slug-action/compare/v3.6.1...v3.7.0) (2022-10-02)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,5 @@
|
|||||||
# GitHub Slug action
|
# GitHub Slug action
|
||||||
|
|
||||||
[![Release][release-badge]][releases]
|
|
||||||
![Lint][lint-badge]
|
|
||||||
[![Licence][license-badge]][license]
|
|
||||||
|
|
||||||
This GitHub Action will expose the slug/short values of [some GitHub environment variables][default-environment-variables] inside your GitHub workflow.
|
This GitHub Action will expose the slug/short values of [some GitHub environment variables][default-environment-variables] inside your GitHub workflow.
|
||||||
|
|
||||||
## Table of Contents
|
## Table of Contents
|
||||||
@@ -188,10 +184,6 @@ Please, use the current branch `v3.x` or a version tag (see [releases pages][rel
|
|||||||
- [Action spotlight by Michael Heap][article-2]
|
- [Action spotlight by Michael Heap][article-2]
|
||||||
- The next one is you. _Don't hesitate to add youself to this list._
|
- The next one is you. _Don't hesitate to add youself to this list._
|
||||||
|
|
||||||
[release-badge]: https://img.shields.io/github/workflow/status/rlespinasse/github-slug-action/Release?label=Build&logo=github&style=flat-square
|
|
||||||
[lint-badge]: https://img.shields.io/github/workflow/status/rlespinasse/github-slug-action/Lint?label=Lint&logo=github&style=flat-square
|
|
||||||
[license-badge]: https://img.shields.io/github/license/rlespinasse/github-slug-action?style=flat-square
|
|
||||||
|
|
||||||
[actions]: https://github.com/rlespinasse/github-slug-action/actions
|
[actions]: https://github.com/rlespinasse/github-slug-action/actions
|
||||||
[license]: https://github.com/rlespinasse/github-slug-action/blob/v3.x/LICENSE
|
[license]: https://github.com/rlespinasse/github-slug-action/blob/v3.x/LICENSE
|
||||||
[examples]: https://github.com/rlespinasse/github-slug-action/tree/v3.x/examples
|
[examples]: https://github.com/rlespinasse/github-slug-action/tree/v3.x/examples
|
||||||
|
|||||||
10
action.yml
10
action.yml
@@ -1,9 +1,9 @@
|
|||||||
name: "GitHub Slug Action"
|
name: 'GitHub Slug Action'
|
||||||
description: "GitHub Action to expose slug value of environment variables inside your GitHub workflow"
|
description: 'GitHub Action to expose slug value of environment variables inside your GitHub workflow'
|
||||||
author: 'rlespinasse'
|
author: 'rlespinasse'
|
||||||
runs:
|
runs:
|
||||||
using: 'node12'
|
using: 'node20'
|
||||||
main: 'dist/index.js'
|
main: 'dist/index.js'
|
||||||
branding:
|
branding:
|
||||||
icon: "minimize"
|
icon: 'minimize'
|
||||||
color: "blue"
|
color: 'blue'
|
||||||
|
|||||||
3431
dist/index.js
vendored
3431
dist/index.js
vendored
File diff suppressed because it is too large
Load Diff
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
3913
dist/sourcemap-register.js
vendored
3913
dist/sourcemap-register.js
vendored
File diff suppressed because one or more lines are too long
12017
package-lock.json
generated
12017
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -26,7 +26,7 @@
|
|||||||
],
|
],
|
||||||
"author": "rlespinasse",
|
"author": "rlespinasse",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "^1.9.1"
|
"@actions/core": "^1.10.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@semantic-release/changelog": "^6.0.1",
|
"@semantic-release/changelog": "^6.0.1",
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
"@types/jest": "^26.0.24",
|
"@types/jest": "^26.0.24",
|
||||||
"@types/node": "^14.18.25",
|
"@types/node": "^14.18.25",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.38.1",
|
"@typescript-eslint/eslint-plugin": "^5.38.1",
|
||||||
"@vercel/ncc": "^0.23.0",
|
"@vercel/ncc": "^0.36.1",
|
||||||
"eslint": "^8.0.1",
|
"eslint": "^8.0.1",
|
||||||
"eslint-plugin-github": "^4.3.7",
|
"eslint-plugin-github": "^4.3.7",
|
||||||
"eslint-plugin-jest": "^23.20.0",
|
"eslint-plugin-jest": "^23.20.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user