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

Upstream Updates #126

Closed
wants to merge 26 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
9452aa0
build(deps-dev): bump eslint from 7.13.0 to 7.14.0 (#36)
dependabot[bot] Dec 4, 2020
3507cfd
build(deps): bump node-notifier from 8.0.0 to 8.0.1 (#40)
dependabot[bot] Jan 8, 2021
e727a2a
build(deps-dev): bump eslint from 7.14.0 to 7.17.0 (#41)
dependabot[bot] Jan 8, 2021
8a878f6
build(deps): bump axios from 0.21.0 to 0.21.1 (#39)
dependabot[bot] Jan 8, 2021
4ce958b
build(deps-dev): bump eslint from 7.17.0 to 7.20.0 (#44)
dependabot[bot] Feb 25, 2021
cfadd69
Update All Dependencies (#51)
promiseofcake Apr 22, 2021
4855852
build(deps-dev): bump eslint from 7.24.0 to 7.26.0 (#54)
dependabot[bot] May 21, 2021
78d553d
build(deps): bump util from 0.12.3 to 0.12.4 (#59)
dependabot[bot] Feb 16, 2022
5ee0c53
feat: add sane defaults for action inputs (#89)
Xavientois Jul 17, 2022
de2dce6
build(deps): bump follow-redirects from 1.13.3 to 1.14.8 (#107)
dependabot[bot] Jul 17, 2022
a3c491c
build(deps): bump ansi-regex from 5.0.0 to 5.0.1 (#110)
dependabot[bot] Jul 17, 2022
e042dcf
build(deps): bump path-parse from 1.0.6 to 1.0.7 (#111)
dependabot[bot] Jul 17, 2022
822483b
build(deps): bump ws from 7.4.5 to 7.5.7 (#112)
dependabot[bot] Jul 17, 2022
c62bcd9
build(deps): bump tmpl from 1.0.4 to 1.0.5 (#113)
dependabot[bot] Jul 17, 2022
c4676f3
build(deps): bump minimist from 1.2.5 to 1.2.6 (#117)
dependabot[bot] Jul 17, 2022
7d312a8
build(deps): bump @actions/core from 1.2.7 to 1.9.0 (#136)
dependabot[bot] Jul 17, 2022
1fe35af
build(deps-dev): bump eslint from 7.26.0 to 8.19.0 (#139)
dependabot[bot] Jul 17, 2022
c74068f
build(deps): bump axios from 0.21.1 to 0.27.2 (#125)
dependabot[bot] Jul 17, 2022
afddcb2
build(deps-dev): bump jest from 26.6.3 to 28.1.3 (#140)
dependabot[bot] Jul 17, 2022
88918a9
Large Dependency / Actions Updates (#144)
promiseofcake Aug 12, 2022
f24346f
Address Dependabot Alerts for v1.3 (#149)
promiseofcake Aug 12, 2022
c1ac61b
build(deps-dev): bump eslint from 8.21.0 to 8.22.0 (#150)
dependabot[bot] Aug 19, 2022
0942152
build(deps-dev): bump eslint from 8.22.0 to 8.23.0 (#153)
dependabot[bot] Sep 6, 2022
050720c
build(deps-dev): bump jest from 27.5.1 to 29.0.2 (#154)
dependabot[bot] Sep 6, 2022
7216345
build(deps-dev): bump eslint from 8.23.0 to 8.23.1 (#155)
dependabot[bot] Sep 13, 2022
600d668
build(deps-dev): bump jest from 29.0.2 to 29.0.3 (#156)
dependabot[bot] Sep 13, 2022
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
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ parameters:
jobs:
output:
docker:
- image: cimg/base:2020.01
- image: cimg/base:2022.08
steps:
- run: "echo this is an output build, the output_value is: << pipeline.parameters.output_value >>"

Expand Down
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist/** -diff linguist-generated=true
14 changes: 8 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
version: 2
updates:
# Enable version updates for npm
- package-ecosystem: "npm"
# Look for `package.json` and `lock` files in the `root` directory
directory: "/"
# Check the npm registry for updates every day (weekdays)
- package-ecosystem: github-actions
directory: /
schedule:
interval: "daily"
interval: daily

- package-ecosystem: npm
directory: /
schedule:
interval: daily
51 changes: 51 additions & 0 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# `dist/index.js` is a special file in Actions.
# When you reference an action with `uses:` in a workflow,
# `index.js` is the code that will run.
# For our project, we generate this file through a build process from other source files.
# We need to make sure the checked-in `index.js` actually matches what we expect it to be.
name: Check dist/

on:
push:
branches:
- main
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
workflow_dispatch:

jobs:
check-dist:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set Node.js 16.x
uses: actions/[email protected]
with:
node-version: 16.x

- name: Install dependencies
run: npm ci

- name: Rebuild the dist/ directory
run: npm run prepare

- name: Compare the expected and actual dist/ directories
run: |
if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
echo "Detected uncommitted changes after build. See status below:"
git diff
exit 1
fi
id: diff

# If index.js was different than expected, upload the expected version as an artifact
- uses: actions/upload-artifact@v3
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
with:
name: dist
path: dist/
9 changes: 8 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,20 @@ on:
pull_request:

jobs:
# compile
units:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm ci

# test action works running from the graph
test:
runs-on: ubuntu-latest
env:
OUTPUT_VALUE: overloaded output value
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./
with:
project-slug: ${{ github.repository }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
env:
OUTPUT_VALUE: overloaded output value
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Capture triggering branch name
run: echo "BRANCH_NAME=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
- uses: ./
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ parameters:
jobs:
output:
docker:
- image: cimg/base:2020.01
- image: cimg/base:2022.08
steps:
- run: echo "this is an output build"

Expand Down
5 changes: 4 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,18 @@ inputs:
project-slug:
description: 'CircleCI project slug, ie. the repo name: promiseofcake/circleci-trigger-action'
required: true
default: ${{ github.repository }}
user-token:
description: 'CircleCI User Token used to authorize the workflow run'
required: true
branch:
description: 'Branch for the CircleCU contextual run.'
required: true
default: ${{ github.head_ref }}
payload:
description: 'Payload data (JSON) to send to the Workflow endpoint'
required: true
default: '{}'
runs:
using: 'node12'
using: 'node16'
main: 'dist/index.js'
Loading