Skip to content

Cameraa #138

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

Closed
wants to merge 111 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
111 commits
Select commit Hold shift + click to select a range
c19d6ba
Adds note that absolute path is required
j-ulrich Jul 16, 2020
62c8044
Update README.md
jclem Jul 17, 2020
603dfa3
Update README.md
jclem Jul 17, 2020
83107c8
Merge pull request #67 from j-ulrich/j-ulrich-absolute-path-note
jclem Jul 17, 2020
a656f43
docs: use GITHUB_WORKSPACE environment variable
Jul 29, 2020
07ecbc5
Update README.md
jclem Jul 29, 2020
3f92623
Merge pull request #74 from ahmadnassri/patch-1
jclem Jul 29, 2020
a4a34d1
Add production licenses with licensed
jclem Aug 7, 2020
4db7989
Add a licensed workflow
jclem Aug 7, 2020
5e49ada
Merge pull request #79 from actions/licensed
jclem Aug 7, 2020
b92989f
Mark licenses as generated
jclem Aug 7, 2020
44b873b
v2.0.1
jclem Aug 7, 2020
408aa65
Bump lodash from 4.17.15 to 4.17.19
dependabot[bot] Aug 7, 2020
21ae42f
Merge pull request #80 from actions/dependabot/npm_and_yarn/lodash-4.…
jclem Aug 7, 2020
fb0feb9
Add licensed workflow badge
jclem Aug 7, 2020
d77e8e7
Update issue templates
jclem Aug 18, 2020
fc4d627
Add stale workflow
jclem Aug 18, 2020
3c682f9
Bump production dependencies
jclem Aug 21, 2020
563cb72
Bump dev dependencies
jclem Aug 21, 2020
11dbe18
Update licenses
jclem Aug 21, 2020
79d44e3
Merge pull request #83 from actions/bump-deps
jclem Aug 21, 2020
626af12
v3.0.0
jclem Aug 21, 2020
cf1dcb0
Add nicer status badges and workflow names
jclem Aug 21, 2020
e2ddba4
Fix Integration/CI badges
jclem Aug 21, 2020
89e42e7
Clean up README
victoriadrake Aug 22, 2020
fdf4916
Merge pull request #84 from victoriadrake/patch-1
jclem Aug 27, 2020
af3c0bb
Fix example function arguments
jclem Sep 1, 2020
eb58336
Merge pull request #86 from actions/fix-readme-args-example
jclem Sep 1, 2020
ac77fc9
Add a GraphQL example
Sep 17, 2020
91121b9
Fixup typo
Sep 17, 2020
ce5d26b
Merge pull request #88 from clarkbw/patch-1
jclem Sep 21, 2020
28e5eba
Update README.md
jclem Oct 5, 2020
9124ee0
Bump @actions/core from 1.2.4 to 1.2.6
dependabot[bot] Oct 5, 2020
6bd37e1
Move information about diffs to correct heading
pradyunsg Oct 31, 2020
f035cea
Merge pull request #95 from pradyunsg/patch-1
jclem Nov 2, 2020
b780942
update licenses
hfaulds Nov 17, 2020
e5156a8
rebuild distribution
hfaulds Nov 17, 2020
9d620e4
Merge pull request #98 from hfaulds/core-1.2.6
jclem Nov 17, 2020
ff0a9e8
v3.0.1
jclem Nov 17, 2020
3c58ce3
v3.0.2
jclem Nov 17, 2020
2d40ba5
Update development.md
jclem Nov 17, 2020
bdd2daf
Bump node-fetch from 2.6.0 to 2.6.1
dependabot[bot] Nov 17, 2020
5c19504
Update node-fetch cached license
jclem Nov 17, 2020
bc192ff
Merge pull request #99 from actions/dependabot/npm_and_yarn/node-fetc…
jclem Nov 17, 2020
ed05d35
Bump Octokit core, REST pagination, REST methdos
jclem Nov 17, 2020
8c2abf1
Bump Octokit licenses
jclem Nov 17, 2020
58579a2
Merge pull request #100 from actions/bump-octokit
jclem Nov 17, 2020
47f7cf6
v3.1.0
jclem Nov 17, 2020
96374ec
Update README.md
jclem Nov 17, 2020
b714c52
Add CODEOWNERS
joshmgross Dec 9, 2020
a52e7f4
Merge pull request #106 from actions/joshmgross/add-codeowners
joshmgross Dec 10, 2020
b91d578
Update README.md
Bullenj01 Dec 17, 2020
f4f25eb
Move to examples section
Bullenj01 Dec 17, 2020
1318dc3
Merge pull request #108 from Bullenj01/documentation-print-option-for…
joshmgross Dec 17, 2020
2f21207
Add name to PR test workflow
joshmgross Dec 17, 2020
5c9e354
Use @v3 in 'View context attributes' example
36degrees Dec 21, 2020
315fb4f
Merge pull request #109 from 36degrees/patch-1
joshmgross Jan 4, 2021
01904b9
Fix typo in Readme example
buger Feb 2, 2021
74776b4
Merge pull request #110 from buger/patch-1
joshmgross Feb 2, 2021
5b5c43c
Bump node-notifier from 8.0.0 to 8.0.1
dependabot[bot] Feb 2, 2021
b251c3e
Merge pull request #111 from actions/dependabot/npm_and_yarn/node-not…
joshmgross Feb 2, 2021
58e7e1d
Fix PR test workflow for forks
robyoung Feb 23, 2021
e86864d
Merge pull request #117 from robyoung/fix-pull-request-test-for-forks
joshmgross Feb 26, 2021
77c8747
Fix typo from #117
robyoung Mar 2, 2021
3d069b2
Merge pull request #121 from robyoung/fix-previous-broken-pr
joshmgross Mar 3, 2021
3673bc4
Link to better octokit docs
karlhorky Mar 24, 2021
bb40751
Remove version number to default to latest version
karlhorky Mar 24, 2021
a56d450
Document how to use installed npm packages
nihalgonsalves Mar 29, 2021
934655b
Document how to use `env:` as input
nihalgonsalves Mar 29, 2021
01dfe2e
Update README.md
nihalgonsalves Mar 29, 2021
8685086
Merge pull request #126 from nihalgonsalves/ng/input
joshmgross Mar 29, 2021
8920b9a
Add the @actions/glob package
MatisseHack Mar 29, 2021
7488ca4
Merge pull request #127 from MatisseHack/glob
joshmgross Mar 30, 2021
74ae80c
Use y18n 4.0.1
joshmgross Mar 30, 2021
f05a81d
Update version to 3.1.1
joshmgross Mar 30, 2021
c72dc00
Update readme with async example
leandredasilva Apr 9, 2021
5467f2a
Merge pull request #131 from esker-software/Update-readme-with-async-…
joshmgross Apr 15, 2021
59cb74c
Merge pull request #125 from karlhorky/patch-1
joshmgross Apr 16, 2021
ddba1b1
Use non-Webpack-require in evaluated scripts
jclem Apr 21, 2021
f4e5d39
Use a proxy to support relative requires
jclem Apr 21, 2021
e853490
Run build script
jclem Apr 21, 2021
75e3a5b
Move wrapRequire to its own module
jclem Apr 21, 2021
c416f56
Pass nativeRequire, as well
jclem Apr 21, 2021
83c92d6
Rename nativeRequire to __original_require__
jclem Apr 21, 2021
3ca4cd5
Update documentation for relative require support
jclem Apr 21, 2021
c1c139b
Add a catch to support requiring installed modules
jclem Apr 21, 2021
ade5cea
Use concat for paths
jclem Apr 21, 2021
f57c84a
Try global.module
jclem Apr 21, 2021
1f8fc98
Run build
jclem Apr 21, 2021
d37f92f
Test eval
jclem Apr 21, 2021
7e8659d
Run build
jclem Apr 21, 2021
7e12bd7
Call resolve, then require
jclem Apr 21, 2021
b0e12e7
Add Webpack comment vis-a-vis eval
jclem Apr 21, 2021
01f87b6
Remove caveat about node_modules
jclem Apr 21, 2021
3ede589
Add new integration tests
jclem Apr 21, 2021
19e7914
Add integration test running
jclem Apr 21, 2021
4a93ad9
Add actions/checkout
jclem Apr 21, 2021
fb7e8f7
Add npm ci to integration test
jclem Apr 21, 2021
5ee517d
Workflow syntax error
jclem Apr 21, 2021
256da4e
Update src/wrap-require.ts
jclem Apr 21, 2021
c758586
v4.0.0
jclem Apr 21, 2021
b616178
Merge branch 'wrap-require' of https://github.com/actions/github-scri…
jclem Apr 21, 2021
2923e50
Run build script
jclem Apr 21, 2021
95fb649
Merge pull request #135 from actions/wrap-require
jclem Apr 21, 2021
a49bf6b
Search the cwd first, then existing module paths
jclem Apr 21, 2021
1ef7fd0
Remove require search fallback
jclem Apr 21, 2021
5cbb702
v4.0.1
jclem Apr 21, 2021
85e88a6
Merge pull request #136 from actions/search-cwd-first
jclem Apr 21, 2021
2b34a68
Update @actions/core to 1.2.7
joshmgross Apr 23, 2021
3858e71
Update license for @actions/core
joshmgross Apr 23, 2021
a3e7071
Merge pull request #137 from actions/joshgross/update-actions-core
joshmgross Apr 23, 2021
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
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.licenses/** -diff linguist-generated=true
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: CI

on:
push: {branches: main}
pull_request: {branches: main}
Expand Down
44 changes: 42 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
name: Integration

on:
push: {branches: main}
pull_request: {branches: main}

jobs:
integration:
test-return:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- id: output-set
uses: actions/github-script@main
uses: ./
with:
script: return core.getInput('input-value')
result-encoding: string
Expand All @@ -15,3 +19,39 @@ jobs:
if [[ "${{steps.output-set.outputs.result}}" != "output" ]]; then
exit 1
fi

test-relative-require:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- id: output-set
uses: ./
with:
script: return require('./package.json').name
result-encoding: string
input-value: output
- run: |
if [[ "${{steps.output-set.outputs.result}}" != "github-script" ]]; then
exit 1
fi

test-npm-require:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v1
with:
path: ~/.npm
key: ${{runner.os}}-npm-${{hashFiles('**/package-lock.json')}}
restore-keys: ${{runner.os}}-npm-
- run: npm ci
- id: output-set
uses: ./
with:
script: return require('@actions/core/package.json').name
result-encoding: string
input-value: output
- run: |
if [[ "${{steps.output-set.outputs.result}}" != "@actions/core" ]]; then
exit 1
fi
27 changes: 27 additions & 0 deletions .github/workflows/licensed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Licensed

on:
push: {branches: main}
pull_request: {branches: main}
repository_dispatch:
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest
name: Check licenses
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v1
with:
path: ~/.npm
key: ${{runner.os}}-npm-${{hashFiles('**/package-lock.json')}}
restore-keys: ${{runner.os}}-npm-
- run: npm ci
- name: Install licensed
run: |-
cd $RUNNER_TEMP
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.9.2/licensed-2.9.2-linux-x64.tar.gz
sudo tar -xzf licensed.tar.gz
sudo mv licensed /usr/local/bin/licensed
- run: licensed status
38 changes: 22 additions & 16 deletions .github/workflows/pull-request-test.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: Pull Request Test

on:
pull_request:
branches: main
Expand All @@ -18,22 +20,26 @@ jobs:
issue_number: context.payload.number,
})

// Find any comment already made by the bot.
const botComment = comments.find(comment => comment.user.id === 41898282)
const commentBody = "Hello from actions/github-script! (${{ github.sha }})"
// Find any comment already made by the bot.
const botComment = comments.find(comment => comment.user.id === 41898282)
const commentBody = "Hello from actions/github-script! (${{ github.sha }})"

if (botComment) {
await github.issues.updateComment({
owner: context.repo.owner,
repo: context.repo.repo,
comment_id: botComment.id,
body: commentBody
})
if (context.payload.pull_request.head.repo.full_name !== 'actions/github-script') {
console.log('Not attempting to write comment on PR from fork');
} else {
await github.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.payload.number,
body: commentBody
})
if (botComment) {
await github.issues.updateComment({
owner: context.repo.owner,
repo: context.repo.repo,
comment_id: botComment.id,
body: commentBody
})
} else {
await github.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.payload.number,
body: commentBody
})
}
}
31 changes: 31 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Stale Issues & PRs

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

jobs:
mark_stale:
name: Mark issues and PRs as stale
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
exempt-issue-labels: Not Stale
exempt-pr-labels: Not Stale
stale-issue-message: >
This issue is stale because it has been open for 60 days with no
activity. Remove the "Stale" label or comment on the issue, or it
will be closed in 7 days.
stale-pr-message: >
This pull request is stale because it has been open for 60 days
with no activity. Remove the "Stale" label or comment on the pull
request, or it will be closed in 7 days.
close-issue-message: >
This issue has been marked as stale and closed due to no activity
on it.
close-pr-message: >
This pull request has been marked as stale and closed due to no
activity on it.
14 changes: 14 additions & 0 deletions .licensed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
sources:
npm: true

allowed:
- apache-2.0
- bsd-2-clause
- bsd-3-clause
- isc
- mit
- cc0-1.0
- unlicense

reviewed:
npm:
20 changes: 20 additions & 0 deletions .licenses/npm/@actions/core.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions .licenses/npm/@actions/github.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions .licenses/npm/@actions/glob.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions .licenses/npm/@actions/http-client.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions .licenses/npm/@actions/io.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading