Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanfoxtyler committed Apr 6, 2024
1 parent 8d5f4c9 commit 8101dd9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 25 deletions.
30 changes: 5 additions & 25 deletions .github/workflows/mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
pull_request:
branches:
- main
- master

env:
APPLY_FIXES: all
Expand All @@ -15,18 +14,15 @@ concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true

permissions:
contents: write
issues: write
pull-requests: write

jobs:
megalinter:
name: MegaLinter
runs-on: warp-ubuntu-latest-x64-2x

# Give the default GITHUB_TOKEN write permission to commit and push, comment
# issues, and post new Pull Requests; remove the ones you do not need
permissions:
contents: write
issues: write
pull-requests: write

steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand All @@ -44,25 +40,9 @@ jobs:
# All available variables are described in documentation
# https://megalinter.io/latest/config-file/
env:
# Validates all source when push on main, else just the git diff with
# main. Override with true if you always want to lint all sources
#
# To validate the entire codebase, set to:
# VALIDATE_ALL_CODEBASE: true
#
# To validate only diff with main, set to:
# VALIDATE_ALL_CODEBASE: >-
# ${{
# github.event_name == 'push' &&
# github.ref == 'refs/heads/main'
# }}
VALIDATE_ALL_CODEBASE: true

GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# ADD YOUR CUSTOM ENV VARIABLES HERE TO OVERRIDE VALUES OF
# .mega-linter.yml AT THE ROOT OF YOUR REPOSITORY

- name: Archive Production Artifacts
uses: actions/upload-artifact@v4
if: success() || failure()
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/no-broken-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ permissions: read-all

jobs:
no-broken-links:
name: Broken Link Checker
runs-on: warp-ubuntu-latest-x64-2x
steps:
- name: Checkout Repository
Expand Down

0 comments on commit 8101dd9

Please sign in to comment.