We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0d02d54 + 7c7e6a4 commit b58d3adCopy full SHA for b58d3ad
src/main.js
@@ -3,13 +3,8 @@ const { GitHub, context } = require('@actions/github');
3
async function run() {
4
5
try {
6
- const { GITHUB_REF, GITHUB_SHA, GITHUB_TOKEN } = process.env;
+ const { GITHUB_SHA, GITHUB_TOKEN } = process.env;
7
const tagName = core.getInput('tag_name');
8
- if (!GITHUB_REF) {
9
- core.setFailed('Missing GITHUB_REF');
10
- return;
11
- }
12
-
13
if (!GITHUB_SHA) {
14
core.setFailed('Missing GITHUB_SHA');
15
return;
0 commit comments