From 1d0751b749663e61a6baa2ff86ae8e957b6ecbae Mon Sep 17 00:00:00 2001 From: Lukas Gravley Date: Mon, 22 Mar 2021 08:49:45 -0500 Subject: [PATCH] cleanup (#1378) --- .github/workflows/deploy-RELEASE.yml | 56 ---------------------------- action.yml | 2 + 2 files changed, 2 insertions(+), 56 deletions(-) diff --git a/.github/workflows/deploy-RELEASE.yml b/.github/workflows/deploy-RELEASE.yml index a985f50c..f6c27f02 100644 --- a/.github/workflows/deploy-RELEASE.yml +++ b/.github/workflows/deploy-RELEASE.yml @@ -22,62 +22,6 @@ on: # Set the Job # ############### jobs: - no-run: - # Name the Job - name: Deploy Docker Image - Release - # Set the agent to run on - runs-on: ubuntu-latest - - ######################################################### - # Delete the created issue as it was created by someone # - # who is not authorized to create a release # - ######################################################### - if: contains(github.event.issue.title, 'Super-Linter') && - contains(github.event.issue.title, 'Release:') && - github.actor != 'admiralawkbar' || github.actor != 'jwiebalk' || - github.actor != 'IAmHughes' || github.actor != 'nemchik' || - github.actor != 'Hanse00' || github.actor != 'github-actions' || - github.actor != 'GaboFDC' || github.actor != 'ferrarimarco' - - ################## - # Load all steps # - ################## - steps: - ########################### - # Update the GitHub Issue # - ########################### - - name: Update GitHub Issue - uses: actions/github-script@v3.1.0 - id: update-issue - with: - # https://octokit.github.io/rest.js/v18#issues-create - github-token: ${{secrets.GITHUB_TOKEN}} - script: | - github.issues.createComment({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: "${{ github.event.issue.number }}", - title: "You have no power here", - body: '![](https://media.giphy.com/media/RX3vhj311HKLe/giphy.gif)' - }) - - ########################## - # Close the GitHub Issue # - ########################## - - name: Close GitHub Issue - uses: actions/github-script@v3.1.0 - id: close-issue - with: - # https://octokit.github.io/rest.js/v18#issues-create - github-token: ${{secrets.GITHUB_TOKEN}} - script: | - github.issues.update({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: "${{ github.event.issue.number }}", - state: 'closed' - }) - deploy: # Name the Job name: Deploy Docker Image - Release diff --git a/action.yml b/action.yml index 44c3aa72..de7e46e6 100644 --- a/action.yml +++ b/action.yml @@ -8,3 +8,5 @@ runs: branding: icon: 'check-square' color: 'white' +# You can view https://github.com/github/super-linter#environment-variables +# to see a comprehensive list of all environment variables that can be passed