-
Notifications
You must be signed in to change notification settings - Fork 2.3k
🌌 Title Sponsor Ritual: Deno IPN Handler + Multi-Distro Validator + Canonized Badges #2000
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
alexandros-thomson
wants to merge
21
commits into
git-ecosystem:main
Choose a base branch
from
alexandros-thomson:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 11 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
7ae4e61
build(deps): bump DavidAnson/markdownlint-cli2-action
dependabot[bot] 2af5005
Merge remote-tracking branch 'origin/dependabot/github_actions/DavidA…
alexandros-thomson 234e278
Create dotnet.yml
alexandros-thomson 9d8c8a4
Update README.md
alexandros-thomson edcac73
Create src/ipn-handler.ts
alexandros-thomson 4ee995b
Update validate-install-from-source.yml
alexandros-thomson 26d86e6
Update validate-install-from-source.yml
alexandros-thomson 7c67dcc
Create FUNDING.yml
alexandros-thomson cf5e9ca
Update README.md
alexandros-thomson 224d1fb
Create greetings.yml
alexandros-thomson f7421a4
Update README.md
alexandros-thomson c61953d
Create Workflows
alexandros-thomson 1cf0230
Update README.md
alexandros-thomson db40331
Update README.md
alexandros-thomson 5146a80
Update README.md
alexandros-thomson 5a835d5
Update README.md
alexandros-thomson 4b0f53b
Update README.md
alexandros-thomson 0bd3033
Create _includes/badge.html
alexandros-thomson e86f2df
Update Workflows
alexandros-thomson 5435aaa
Update badge.html
alexandros-thomson 6865a16
Create .github/copilot-agents
alexandros-thomson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# 📡 Support Kypria and unlock sponsor artifacts | ||
patreon: kypria | ||
open_collective: kypria | ||
ko_fi: kypria | ||
tidelift: kypria-galaxy | ||
community_bridge: kypria-foundry | ||
liberapay: kypria | ||
issuehunt: kypria | ||
lfx_crowdfunding: kypria-legends | ||
polar: kypria | ||
buy_me_a_coffee: kypria | ||
thanks_dev: kypria | ||
custom: | ||
- https://kypria.com/sponsor | ||
- https://discord.gg/kypria-legends | ||
- https://github.com/kypria | ||
- https://paypal.me/kypriallc# These are supported funding model platformsgithub: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] | ||
patreon: # Replace with a single Patreon username | ||
open_collective: # Replace with a single Open Collective username | ||
ko_fi: # Replace with a single Ko-fi username | ||
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel | ||
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry | ||
liberapay: # Replace with a single Liberapay username | ||
issuehunt: # Replace with a single IssueHunt username | ||
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry | ||
polar: # Replace with a single Polar username | ||
buy_me_a_coffee: # Replace with a single Buy Me a Coffee username | ||
thanks_dev: # Replace with a single thanks.dev username | ||
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# This workflow will build a .NET project | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net | ||
|
||
name: .NET | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 8.0.x | ||
- name: Restore dependencies | ||
run: dotnet restore | ||
- name: Build | ||
run: dotnet build --no-restore | ||
- name: Test | ||
run: dotnet test --no-build --verbosity normal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Greetings | ||
|
||
on: [pull_request_target, issues] | ||
|
||
jobs: | ||
greeting: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
steps: | ||
- uses: actions/first-interaction@v1 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
issue-message: "Message that will be displayed on users' first issue" | ||
alexandros-thomson marked this conversation as resolved.
Show resolved
Hide resolved
|
||
pr-message: "Message that will be displayed on users' first pull request" | ||
alexandros-thomson marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,28 @@ | ||
name: validate-install-from-source | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
docker: | ||
name: ${{matrix.vector.image}} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
vector: | ||
- image: ubuntu | ||
- image: debian:bullseye | ||
- image: fedora | ||
# Centos no longer officially maintains images on Docker Hub. However, | ||
# tgagor is a contributor who pushes updated images weekly, which should | ||
# be sufficient for our validation needs. | ||
- image: tgagor/centos | ||
- image: redhat/ubi8 | ||
- image: alpine | ||
- image: alpine:3.14.10 | ||
- image: opensuse/leap | ||
- image: opensuse/tumbleweed | ||
- image: registry.suse.com/suse/sle15:15.4.27.11.31 | ||
- image: archlinux | ||
- image: mcr.microsoft.com/cbl-mariner/base/core:2.0 | ||
container: ${{matrix.vector.image}} | ||
steps: | ||
- run: | | ||
if [[ ${{matrix.vector.image}} == *"suse"* ]]; then | ||
zypper -n install tar gzip | ||
elif [[ ${{matrix.vector.image}} == *"centos"* ]]; then | ||
dnf install which -y | ||
elif [[ ${{matrix.vector.image}} == *"mariner"* ]]; then | ||
GNUPGHOME=/root/.gnupg tdnf update -y && | ||
GNUPGHOME=/root/.gnupg tdnf install tar -y # needed for `actions/checkout` | ||
fi | ||
|
||
- uses: actions/checkout@v4 | ||
|
||
- run: | | ||
sh "${GITHUB_WORKSPACE}/src/linux/Packaging.Linux/install-from-source.sh" -y | ||
git-credential-manager --help || exit 1 | ||
git add .github/workflows/validate-install-from-source.yml | ||
git commit -m "chore: patch tumbleweed skip+retry in validate-install-from-source" | ||
git pushjobs: | ||
alexandros-thomson marked this conversation as resolved.
Show resolved
Hide resolved
|
||
validate-install-from-source: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
- container: | ||
- - debian:bullseye | ||
- - registry.suse.com/suse/sle15:15.4.27.11.31 | ||
- - redhat/ubi8 | ||
- - opensuse/leap | ||
- - fedora | ||
- - archlinux | ||
- - tggor/centos | ||
alexandros-thomson marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- - opensuse/tumbleweed | ||
- - alpine | ||
+ container: | ||
+ - debian:bullseye | ||
+ - registry.suse.com/suse/sle15:15.4.27.11.31 | ||
+ - redhat/ubi8 | ||
+ - opensuse/leap | ||
+ - fedora | ||
+ - archlinux | ||
+ - tggor/centos | ||
+ - alpine | ||
+ # openSUSE Tumbleweed gets special skip + retry logic | ||
+ - opensuse/tumbleweed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# .github/workflows/deploy-ipn.yml | ||
alexandros-thomson marked this conversation as resolved.
Show resolved
Hide resolved
|
||
name: Build & Deploy IPN Handler | ||
|
||
on: | ||
push: | ||
paths: | ||
- "src/ipn-handler.ts" | ||
- "src/mappings/**" | ||
- "deno.json" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup Deno | ||
uses: denoland/setup-deno@v1 | ||
with: | ||
deno-version: v1.x | ||
|
||
- name: Cache deps | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.cache/deno | ||
key: ${{ runner.os }}-deno-${{ hashFiles('**/*.ts') }} | ||
|
||
- name: Lint & Test | ||
run: | | ||
deno fmt --check | ||
deno lint | ||
deno test --allow-net --allow-env | ||
|
||
deploy: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup Deno | ||
uses: denoland/setup-deno@v1 | ||
with: | ||
deno-version: v1.x | ||
|
||
- name: Deploy to Deno Deploy | ||
run: deno deploy --project=peludo-ipn --token=${{ secrets.DENO_DEPLOY_TOKEN }} src/ipn-handler.ts |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.