Skip to content

Commit 43afd88

Browse files
Merge pull request #4 from InVisionApp/develop
Removed repo-branch from action metadata
2 parents f368d92 + 3aeb53e commit 43afd88

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
name: Private Action Loader
2-
description: 'Allows a private action to be easily reused across repos'
2+
description: Enables private Actions to be easily reused across repositories.
33
inputs:
44
repo-token:
55
description: 'Access token with read access to the repo containing action'
66
required: true
77
repo-name:
88
description: 'The organization/user and repo where action is stored, with support for @ref'
99
required: true
10-
repo-branch:
11-
description: 'The branch to pull private action from. Defaults to master'
12-
required: false
1310
runs:
1411
using: 'node12'
1512
main: 'dist/index.js'
13+
branding:
14+
icon: 'lock'
15+
color: 'green'

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5265,7 +5265,7 @@ async function run () {
52655265

52665266
core.info(`Cloning action from https://***TOKEN***@github.com/${repo}.git${sha ? ` (SHA: ${sha})` : ''}`)
52675267
await exec.exec(cmd)
5268-
5268+
52695269
core.info('Remove github token from config')
52705270
await exec.exec(`git remote set-url origin https://github.com/${repo}.git`, null, { cwd: WORKING_DIR })
52715271

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ async function run () {
2424

2525
core.info(`Cloning action from https://***TOKEN***@github.com/${repo}.git${sha ? ` (SHA: ${sha})` : ''}`)
2626
await exec.exec(cmd)
27-
27+
2828
core.info('Remove github token from config')
2929
await exec.exec(`git remote set-url origin https://github.com/${repo}.git`, null, { cwd: WORKING_DIR })
3030

0 commit comments

Comments
 (0)