Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Commit

Permalink
chore: prepare for archive
Browse files Browse the repository at this point in the history
Signed-off-by: Tomer Figenblat <[email protected]>
  • Loading branch information
TomerFi committed Oct 26, 2024
1 parent 5fd375e commit 4cc8306
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 97 deletions.
26 changes: 0 additions & 26 deletions .all-contributorsrc

This file was deleted.

28 changes: 14 additions & 14 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
assignees:
- "TomerFi"
labels:
- "type: dependencies"
commit-message:
prefix: "ci"
include: "scope"
#---
#version: 2
#updates:
# - package-ecosystem: "github-actions"
# directory: "/"
# schedule:
# interval: "daily"
# assignees:
# - "TomerFi"
# labels:
# - "type: dependencies"
# commit-message:
# prefix: "ci"
# include: "scope"
74 changes: 37 additions & 37 deletions .github/workflows/shabbat_api_released.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
---
name: Shabbat-API Released

on:
repository_dispatch:
types: [shabbat-api-released]

jobs:
update_shabbat_times_script:
runs-on: ubuntu-latest
environment: deployment
name: Update shabbat_times script with new Shabbat-API version
steps:
- name: Source checkout
uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.DEPLOY_KEY }}

- name: Get new version from the event
id: new_version
run: echo "text=${{ github.event.client_payload.release }}" | xargs > $GITHUB_OUTPUT

- name: Configure git
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor }}@users.noreply.github.com"
- name: Update shabbat_times script
run:
sed -i 's/\/\/DEPS info.tomfi.shabbat:shabbat-api:.*/\/\/DEPS info.tomfi.shabbat:shabbat-api:${{ steps.new_version.outputs.text }}/g;
s/version = .*\,/version = "${{ steps.new_version.outputs.text }}",/g' src/shabbat_times.java

- name: Commit and push back to repository
run: |
git add src/shabbat_times.java
git commit -m "build(deps): bumped shabbat-api to ${{ steps.new_version.outputs.text }}"
git push
#---
#name: Shabbat-API Released
#
#on:
# repository_dispatch:
# types: [shabbat-api-released]
#
#jobs:
# update_shabbat_times_script:
# runs-on: ubuntu-latest
# environment: deployment
# name: Update shabbat_times script with new Shabbat-API version
# steps:
# - name: Source checkout
# uses: actions/checkout@v4
# with:
# ssh-key: ${{ secrets.DEPLOY_KEY }}
#
# - name: Get new version from the event
# id: new_version
# run: echo "text=${{ github.event.client_payload.release }}" | xargs > $GITHUB_OUTPUT
#
# - name: Configure git
# run: |
# git config user.name "${{ github.actor }}"
# git config user.email "${{ github.actor }}@users.noreply.github.com"
#
# - name: Update shabbat_times script
# run:
# sed -i 's/\/\/DEPS info.tomfi.shabbat:shabbat-api:.*/\/\/DEPS info.tomfi.shabbat:shabbat-api:${{ steps.new_version.outputs.text }}/g;
# s/version = .*\,/version = "${{ steps.new_version.outputs.text }}",/g' src/shabbat_times.java
#
# - name: Commit and push back to repository
# run: |
# git add src/shabbat_times.java
# git commit -m "build(deps): bumped shabbat-api to ${{ steps.new_version.outputs.text }}"
# git push
25 changes: 5 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# JBang Catalog Archived

<details>
<summary>Original README</summary>
# TomerFi's JBang Catalog

All you need to do is install [JBang](https://www.jbang.dev/) and run Java scripts.
Expand All @@ -15,23 +19,4 @@ Shabbat info for Jerusalem, Israel:
- the parasha is Parashat Pekudei
- shabbat is rosh chodesh
```

## Contributors [![all-contributors]](https://allcontributors.org/)

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tbody>
<tr>
<td align="center" valign="top" width="14.28%"><a href="http://altmascinco.wordpress.com"><img src="https://avatars.githubusercontent.com/u/1054618?v=4?s=100" width="100px;" alt="Jorge Vallecillo"/><br /><sub><b>Jorge Vallecillo</b></sub></a><br /><a href="#infra-altmas5" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
</tr>
</tbody>
</table>

<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->

[all-contributors]: https://img.shields.io/github/all-contributors/tomerfi/jbang-catalog?color=ee8449&style=flat-square
</details>

0 comments on commit 4cc8306

Please sign in to comment.