Skip to content

Commit b58d3ad

Browse files
authored
Merge pull request #2 from FGoessler/master
Remove not needed GITHUB_REF
2 parents 0d02d54 + 7c7e6a4 commit b58d3ad

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/main.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,8 @@ const { GitHub, context } = require('@actions/github');
33
async function run() {
44

55
try {
6-
const { GITHUB_REF, GITHUB_SHA, GITHUB_TOKEN } = process.env;
6+
const { GITHUB_SHA, GITHUB_TOKEN } = process.env;
77
const tagName = core.getInput('tag_name');
8-
if (!GITHUB_REF) {
9-
core.setFailed('Missing GITHUB_REF');
10-
return;
11-
}
12-
138
if (!GITHUB_SHA) {
149
core.setFailed('Missing GITHUB_SHA');
1510
return;

0 commit comments

Comments
 (0)