Skip to content

Commit

Permalink
Merge pull request #35 from jcbhmr/main
Browse files Browse the repository at this point in the history
Co-authored-by: jcbhmr <[email protected]>
  • Loading branch information
jcbhmr and jcbhmr authored Aug 16, 2023
2 parents dcc4ae2 + 3c3ba30 commit ce94aa2
Show file tree
Hide file tree
Showing 37 changed files with 255 additions and 3,478 deletions.
12 changes: 0 additions & 12 deletions .devcontainer/devcontainer.json

This file was deleted.

20 changes: 0 additions & 20 deletions .editorconfig

This file was deleted.

2 changes: 0 additions & 2 deletions .gitattributes

This file was deleted.

6 changes: 0 additions & 6 deletions .github/dependabot.yml

This file was deleted.

43 changes: 0 additions & 43 deletions .github/workflows/deploy-docs.yml

This file was deleted.

91 changes: 0 additions & 91 deletions .github/workflows/mega-linter.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/workflows/release.yml

This file was deleted.

57 changes: 0 additions & 57 deletions .github/workflows/test.yml

This file was deleted.

43 changes: 43 additions & 0 deletions .github/workflows/update-collection.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Update collection
on:
push:
branches: "main"
paths:
- update-collection.ts
- .github/workflows/update-collection.yml
schedule:
# https://crontab.guru/daily
- cron: "0 0 * * *"
workflow_dispatch:
workflow_call:
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
update-collection:
permissions:
contents: read
packages: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v1
- uses: oras-project/setup-oras@v1
- uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- run: deno run -A update-collection.ts
- run: |
pushd "$(mktemp -d)"
oras manifest fetch ghcr.io/${{ github.repository }}:latest | jq
oras pull ghcr.io/${{ github.repository }}:latest
tree -a
jq '' devcontainer-collection.json
- run: |
pushd "$(mktemp -d)"
oras manifest fetch ghcr.io/devcontainers/features:latest | jq
oras pull ghcr.io/devcontainers/features:latest
tree -a
jq '' devcontainer-collection.json
29 changes: 29 additions & 0 deletions .github/workflows/update-readme.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Update readme
on:
push:
branches: "main"
paths:
- README.md
- update-readme.ts
- .github/workflows/update-readme.yml
registry_package: {}
schedule:
# https://crontab.guru/daily
- cron: "0 0 * * *"
workflow_dispatch:
workflow_call:
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
update-readme:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v1
- uses: oras-project/setup-oras@v1
- run: deno run -A update-readme.ts
- run: cat README.md
- uses: stefanzweifel/git-auto-commit-action@v4
23 changes: 0 additions & 23 deletions .github/workflows/validate.yml

This file was deleted.

5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
megalinter-reports
dist
.cache

# Logs
logs
*.log
Loading

0 comments on commit ce94aa2

Please sign in to comment.