neon_arch commited on
Commit
3565dce
β€’
1 Parent(s): 9a53329

πŸ”₯ chore: remove unneeded github actions & their configs

Browse files
.cspell.json DELETED
@@ -1,20 +0,0 @@
1
- {
2
- "ignorePaths": [
3
- "**/node_modules/**",
4
- "**/vscode-extension/**",
5
- "**/.git/**",
6
- "**/.pnpm-lock.json",
7
- ".vscode",
8
- "megalinter",
9
- "package-lock.json",
10
- "report"
11
- ],
12
- "language": "en",
13
- "noConfigSearch": true,
14
- "words": [
15
- "megalinter",
16
- "oxsecurity",
17
- "websurfx"
18
- ],
19
- "version": "0.2"
20
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
.github/workflows/contributors.yml DELETED
@@ -1,48 +0,0 @@
1
- ---
2
- name: Contributors List
3
-
4
- on:
5
- workflow_dispatch:
6
-
7
- schedule:
8
- - cron: "0 1 * * *"
9
-
10
- jobs:
11
- contributors:
12
- permissions:
13
- contents: write
14
- pull-requests: write
15
-
16
- runs-on: ubuntu-latest
17
-
18
- steps:
19
- - name: Checkout code
20
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
21
- with:
22
- fetch-depth: 0
23
- ref: ${{ github.event.repository.default_branch }}
24
-
25
- - name: Update contributors list
26
- uses: wow-actions/contributors-list@242b53835016268d20e79eeff6f42193c02be8c8 # v1.2.0
27
- with:
28
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29
- svgPath: images/contributors_list.svg
30
- round: true
31
- includeBots: false
32
- noCommit: true
33
-
34
- - name: Commit & PR
35
- uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5.0.2
36
- with:
37
- token: ${{ secrets.GITHUB_TOKEN }}
38
- add-paths: .github/assets/CONTRIBUTORS.svg
39
- commit-message: 'chore: update contributors-list'
40
- committer: GitHub <noreply@github.com>
41
- author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
42
- signoff: false
43
- branch: workflow/update-contributors-list
44
- base: main
45
- delete-branch: true
46
- title: 'chore: update contributors-list'
47
- body: |
48
- Automated update to `images/contributors_list.svg`
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
.github/workflows/mega-linter.yml DELETED
@@ -1,89 +0,0 @@
1
- ---
2
- # MegaLinter GitHub Action configuration file
3
- # More info at https://megalinter.io
4
- name: MegaLinter
5
-
6
- on:
7
- # Trigger mega-linter at every push. Action will also be visible from Pull Requests to rolling
8
- push: # Comment this line to trigger action only on pull-requests (not recommended if you don't pay for GH Actions)
9
- pull_request:
10
- branches: [rolling]
11
-
12
- env: # Comment env block if you do not want to apply fixes
13
- # Apply linter fixes configuration
14
- APPLY_FIXES: all # When active, APPLY_FIXES must also be defined as environment variable (in github/workflows/mega-linter.yml or other CI tool)
15
- APPLY_FIXES_EVENT: pull_request # Decide which event triggers application of fixes in a commit or a PR (pull_request, push, all)
16
- APPLY_FIXES_MODE: commit # If APPLY_FIXES is used, defines if the fixes are directly committed (commit) or posted in a PR (pull_request)
17
-
18
- concurrency:
19
- group: ${{ github.ref }}-${{ github.workflow }}
20
- cancel-in-progress: true
21
-
22
- jobs:
23
- build:
24
- name: MegaLinter
25
- runs-on: ubuntu-latest
26
- permissions:
27
- # Give the default GITHUB_TOKEN write permission to commit and push, comment issues & post new PR
28
- # Remove the ones you do not need
29
- contents: write
30
- issues: write
31
- pull-requests: write
32
- steps:
33
- # Git Checkout
34
- - name: Checkout Code
35
- uses: actions/checkout@v4
36
- with:
37
- token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
38
-
39
- # MegaLinter
40
- - name: MegaLinter
41
- id: ml
42
- # You can override MegaLinter flavor used to have faster performances
43
- # More info at https://megalinter.io/flavors/
44
- uses: oxsecurity/megalinter/flavors/cupcake@v7.1.0
45
- env:
46
- # All available variables are described in documentation
47
- # https://megalinter.io/configuration/
48
- VALIDATE_ALL_CODEBASE: true # Set ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} to validate only diff with main branch
49
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50
- # ADD YOUR CUSTOM ENV VARIABLES HERE TO OVERRIDE VALUES OF .mega-linter.yml AT THE ROOT OF YOUR REPOSITORY
51
-
52
- # Upload MegaLinter artifacts
53
- - name: Archive production artifacts
54
- if: ${{ success() }} || ${{ failure() }}
55
- uses: actions/upload-artifact@v3
56
- with:
57
- name: MegaLinter reports
58
- path: |
59
- megalinter-reports
60
- mega-linter.log
61
-
62
- # Create pull request if applicable (for now works only on PR from same repository, not from forks)
63
- - name: Create Pull Request with applied fixes
64
- id: cpr
65
- if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'pull_request' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix')
66
- uses: peter-evans/create-pull-request@v5.0.2
67
- with:
68
- token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
69
- commit-message: "[MegaLinter] Apply linters automatic fixes"
70
- title: "[MegaLinter] Apply linters automatic fixes"
71
- labels: bot
72
- - name: Create PR output
73
- if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'pull_request' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix')
74
- run: |
75
- echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
76
- echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
77
-
78
- # Push new commit if applicable (for now works only on PR from same repository, not from forks)
79
- - name: Prepare commit
80
- if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'commit' && github.ref != 'refs/heads/main' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix')
81
- run: sudo chown -Rc $UID .git/
82
- - name: Commit and push applied linter fixes
83
- if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'commit' && github.ref != 'refs/heads/main' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix')
84
- uses: stefanzweifel/git-auto-commit-action@v5
85
- with:
86
- branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
87
- commit_message: "[MegaLinter] Apply linters fixes"
88
- commit_user_name: megalinter-bot
89
- commit_user_email: nicolas.vuillamy@ox.security
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
.mega-linter.yml DELETED
@@ -1,22 +0,0 @@
1
- ---
2
- # Configuration file for MegaLinter
3
- # See all available variables at https://megalinter.io/configuration/ and in linters documentation
4
-
5
- APPLY_FIXES: all # all, none, or list of linter keys
6
- # ENABLE: # If you use ENABLE variable, all other languages/formats/tooling-formats will be disabled by default
7
- ENABLE_LINTERS: # If you use ENABLE_LINTERS variable, all other linters will be disabled by default
8
- - RUST_CLIPPY
9
- - JAVASCRIPT_ES
10
- - CSS_STYLELINT
11
- - MARKDOWN_MARKDOWNLINT
12
- - YAML_YAMLLINT
13
- - HTML_DJLINT
14
- - ACTION_ACTIONLINT
15
- - DOCKERFILE_HADOLINT
16
- - SPELL_CSPELL
17
- # DISABLE:
18
- # - COPYPASTE # Uncomment to disable checks of excessive copy-pastes
19
- # - SPELL # Uncomment to disable checks of spelling mistakes
20
- SHOW_ELAPSED_TIME: true
21
- FILEIO_REPORTER: false
22
- # DISABLE_ERRORS: true # Uncomment if you want MegaLinter to detect errors but not block CI to pass