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.
1 parent 0d02d54 commit 7c7e6a4Copy full SHA for 7c7e6a4
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