cleanup dependencies

This commit is contained in:
Corey Butler 2023-03-30 21:21:24 -05:00
parent 705426c441
commit 31738a03da
No known key found for this signature in database
GPG Key ID: 2C6540ABFD72766C
2 changed files with 1 additions and 64 deletions

View File

@ -1,63 +0,0 @@
name: Autotag Action Test
on:
push:
branches:
- master
jobs:
package:
name: Package Strategy
runs-on: ubuntu-latest
steps:
# Checkout updated source code
- uses: actions/checkout@v2
# If the version has changed, create a new git tag for it.
- name: Tag Package
id: package_autotagger
uses: butlerlogic/action-autotag@master
with:
tag_prefix: test_package_
commit_message_template: "{{number}}) {{message}} ({{author}})\n"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Rollback Package Test Release
id: package_rollback
if: success() && ${{ steps.package_autotagger.outputs.tagcreated }} = "yes"
uses: author/action-rollback@master
with:
tag: ${{ steps.package_autotagger.outputs.tagrequested }}
delete_orphan_tag: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
docker:
name: Docker Strategy
runs-on: ubuntu-latest
steps:
# Checkout updated source code
- uses: actions/checkout@v2
# If the version has changed, create a new git tag for it.
- name: Tag Dockerfile
id: docker_autotagger
uses: butlerlogic/action-autotag@master
with:
strategy: docker
tag_prefix: test_docker_
root: ./test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Rollback Docker Test Release
id: docker_rolback
if: success() && ${{ steps.docker_autotagger.outputs.tagcreated }} = "yes"
uses: author/action-rollback@master
env:
TAG: ${{ steps.docker_autotagger.outputs.tagrequested }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag: ${{ steps.docker_autotagger.outputs.tagrequested }}
delete_orphan_tag: true

View File

@ -1,6 +1,6 @@
import core from '@actions/core'
import os from 'os'
import octokit from 'octokit@2.0.14'
import octokit from 'octokit'
// Get authenticated GitHub client (Ocktokit): https://github.com/actions/toolkit/tree/master/packages/github#usage
const github = (new octokit({ auth: process.env.GITHUB_TOKEN || process.env.INPUT_GITHUB_TOKEN })).rest