Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion 4 .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ updates:
- dependencies
- github-actions
schedule:
interval: weekly
interval: daily
cooldown:
default-days: 7
Comment thread
MariusStorhaug marked this conversation as resolved.
10 changes: 0 additions & 10 deletions 10 .github/linters/.jscpd.json

This file was deleted.

4 changes: 3 additions & 1 deletion 4 .github/workflows/Action-Test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ jobs:
steps:
# Need to check out as part of the test, as its a local action
- name: Checkout repo
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false

- name: Action-Test
uses: ./
7 changes: 5 additions & 2 deletions 7 .github/workflows/Linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
persist-credentials: false

- name: Lint code base
uses: super-linter/super-linter@latest
uses: super-linter/super-linter@d5b0a2ab116623730dd094f15ddc1b6b25bf7b99 # v8.3.2
env:
GITHUB_TOKEN: ${{ github.token }}
VALIDATE_BIOME_FORMAT: false
VALIDATE_JSCPD: false
VALIDATE_JSON_PRETTIER: false
VALIDATE_MARKDOWN_PRETTIER: false
VALIDATE_YAML_PRETTIER: false
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Auto-Release
name: Release

run-name: "Auto-Release - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}"
run-name: "Release - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}"

on:
pull_request_target:
pull_request:
branches:
- main
types:
Expand All @@ -12,6 +12,9 @@ on:
- reopened
- synchronize
- labeled
paths:
- 'action.yml'
- 'src/**'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -22,13 +25,15 @@ permissions:
pull-requests: write # Required to create comments on the PRs

jobs:
Auto-Release:
Release:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false

- name: Auto-Release
uses: PSModule/Auto-Release@v1
- name: Release
uses: PSModule/Release-GHRepository@88c70461c8f16cc09682005bcf3b7fca4dd8dc1a # v2.0.1
env:
GITHUB_TOKEN: ${{ github.token }}
11 changes: 9 additions & 2 deletions 11 action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,19 @@ branding:
icon: clipboard
color: gray-dark

inputs:
Token:
description: The GitHub token to use for authentication.
required: false
default: ${{ github.token }}
Comment thread
MariusStorhaug marked this conversation as resolved.

runs:
using: composite
steps:
- name: Debug
uses: PSModule/GitHub-Script@v1
uses: PSModule/GitHub-Script@0097f3bbe3f413f3b577b9bcc600727b0ca3201a # v1.7.10
env:
GITHUB_TOKEN: ${{ inputs.Token }}
CONTEXT_GITHUB: ${{ toJson(github) }}
CONTEXT_ENV: ${{ toJson(env) }}
# CONTEXT_VARS: ${{ toJson(vars) }}
Expand All @@ -28,4 +35,4 @@ runs:
Name: Debug
Script: |
# Debug environment
${{ github.action_path }}/scripts/main.ps1
${{ github.action_path }}/src/main.ps1
File renamed without changes.
4 changes: 2 additions & 2 deletions 4 scripts/main.ps1 → src/main.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ LogGroup 'Context: [INPUTS]' {
}

LogGroup 'Network Info' {
Write-Host "$(Get-NetIPConfiguration | Out-String)"
Write-Output "$(Get-NetIPConfiguration | Out-String)"
}

LogGroup 'Public IP Info' {
Write-Host "$(Get-PublicIP | Out-String)"
Write-Output "$(Get-PublicIP | Out-String)"
}


Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.