mirror of
https://github.com/egorovna-developments/rule-set.git
synced 2026-05-17 02:32:28 +07:00
Compare commits
231 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 834a811232 | |||
| 0e15a3c291 | |||
| f8d9a8130a | |||
| d069a009a2 | |||
| 35e49fb8f3 | |||
| 640b43f396 | |||
| 24bbc2e441 | |||
| 0c559d18e3 | |||
| 1c48fe6628 | |||
| ff1503dabe | |||
| 170378d622 | |||
| 50579345fa | |||
| bcd054a419 | |||
| 21d859b14c | |||
| 8ff54806b6 | |||
| a5b832854d | |||
| 180f853b07 | |||
| a5c0d2aa30 | |||
| 8a8cf5b37e | |||
| a84e454be7 | |||
| 796200a882 | |||
| 630eb1411c | |||
| 7a972d8aac | |||
| 7a93899b6c | |||
| 87beca8426 | |||
| ac595bf14e | |||
| 6b2e83020e | |||
| ef277d7ede | |||
| d4ac12300e | |||
| 5af28ff734 | |||
| 2d7fd33f41 | |||
| b7eadd4d8b | |||
| 5833bd5cfb | |||
| f56339098f | |||
| 8699eb92cf | |||
| 43ce378da8 | |||
| 9d48cd9a81 | |||
| 59fda79e66 | |||
| 10499e4b4d | |||
| 5d605a52a1 | |||
| 43343532c0 | |||
| 749e5c1ba4 | |||
| 9bed66d80d | |||
| bbce3a7d40 | |||
| 4dbcaa02d5 | |||
| 9d9516a40a | |||
| 59ddb9cbbf | |||
| e6c595636e | |||
| f9fe09087d | |||
| 8fc3e702d3 | |||
| 78dba287b6 | |||
| 6aa3e6fc2c | |||
| f5c7c1e6ff | |||
| 208e76a0ee | |||
| 9983264c2c | |||
| e523279cec | |||
| b9f0357e12 | |||
| def8fe4487 | |||
| 9a397b525b | |||
| 606e276e99 | |||
| cefc07d944 | |||
| 34b2a2228d | |||
| 79ff13e448 | |||
| abf1a2e4bb | |||
| afae5f8d30 | |||
| d710d70b26 | |||
| e3f8adb273 | |||
| 6a7ec39039 | |||
| 8913155d3e | |||
| ee3e3a6167 | |||
| b2270d43c2 | |||
| fe52ee145e | |||
| 08f7c87774 | |||
| d936c878bf | |||
| b65368a7fe | |||
| 6d7beb5a7e | |||
| 683417fcff | |||
| b204ba6f9c | |||
| 7efdb72d98 | |||
| 7a781a90fa | |||
| e63cec949b | |||
| 6a370e43fb | |||
| 7bc7b4da6d | |||
| 8385b791c7 | |||
| 5f8e6f5484 | |||
| d6e13798af | |||
| 0687f27af4 | |||
| 519d7d8678 | |||
| 830ded2b7f | |||
| e98a03f34d | |||
| 8b4f1dee8f | |||
| e21c49d610 | |||
| 9b51be5b65 | |||
| 88600594c2 | |||
| c5bdb50b1d | |||
| ae790329f6 | |||
| 11f2d4874d | |||
| dbb3addb5b | |||
| e89d9296a8 | |||
| 7542ed64dc | |||
| 48ba50524b | |||
| 6736cbbe8b | |||
| 2d4ca6ddf1 | |||
| b2eae419cb | |||
| 7a327112bf | |||
| f75708b353 | |||
| f4be8482ed | |||
| 1c83c973e8 | |||
| 74e1e40bd4 | |||
| 2b7cdb963a | |||
| fe5c472cf9 | |||
| c1c3346282 | |||
| 19271d6e08 | |||
| 42b94aa38f | |||
| c4ce6efa7a | |||
| b9f95db974 | |||
| 51fd22fc6f | |||
| baabdb5ea8 | |||
| 304185151f | |||
| f029bf857d | |||
| 1e2c013405 | |||
| ebefe85b8a | |||
| 8a83a4ffae | |||
| 269ac12cf0 | |||
| 6a9ae7f753 | |||
| 78f001a0ef | |||
| fbb5eb2add | |||
| cb16f195ba | |||
| a9466b030a | |||
| 994c9200a2 | |||
| 4e157be95e | |||
| 3ccf37a1d0 | |||
| 32841c8a87 | |||
| 57d114de30 | |||
| 7e28723d50 | |||
| 49421b6a4b | |||
| 626b642746 | |||
| 5e07785ba2 | |||
| 243e8edec4 | |||
| 552a7fa344 | |||
| d1ef585988 | |||
| 686e36791e | |||
| 7936b0bcd7 | |||
| 7c68e1d9d8 | |||
| e5b4f80b38 | |||
| 9c90d38fe0 | |||
| 8a78ad5e23 | |||
| 3dd27fde2e | |||
| 7764092c91 | |||
| 8a67bd3629 | |||
| 627736372a | |||
| 2560c24adf | |||
| 5c622571ed | |||
| 6af0aa11be | |||
| 6e84fb9652 | |||
| 94f7e8e6ca | |||
| f4ad8536ca | |||
| 04a122167a | |||
| 5f25236c38 | |||
| 9275c6c52a | |||
| 647c9613fb | |||
| 2d2a5f9334 | |||
| 98c65c1e31 | |||
| 6c3605d792 | |||
| 571543d51b | |||
| d8e8b7cdd6 | |||
| d10baff5d0 | |||
| 272f2d59a9 | |||
| 31dbcf44ff | |||
| ead9347aae | |||
| 8235667c72 | |||
| b7821967c6 | |||
| a6c7fde209 | |||
| 210a0b2c91 | |||
| 9cc02d7ec1 | |||
| 574d78b13b | |||
| df0e7ea12f | |||
| 2e7c9d1b7c | |||
| 7d0d3bd39b | |||
| 7b64a1d2d3 | |||
| bd283ea0ed | |||
| 764b929d10 | |||
| 4a2aba1ef8 | |||
| c8a57c6078 | |||
| 5a2baba88d | |||
| 9bd88c2604 | |||
| 27a5f1daff | |||
| a1741c501c | |||
| 73a0022012 | |||
| 07463d2b01 | |||
| faed259d17 | |||
| d4fab00597 | |||
| fa536cb4d2 | |||
| 3cd7a2863f | |||
| db71499b5d | |||
| 263b22e9bf | |||
| 7360e3d1e3 | |||
| aa63f4e515 | |||
| 6530bd53f8 | |||
| 16749be07b | |||
| 636ca08c75 | |||
| 2e648c69c2 | |||
| a8aae6745c | |||
| ba15bace30 | |||
| af37cc67bb | |||
| d1b5fc73fc | |||
| 40043ffcbd | |||
| eafcb7b67b | |||
| cfbc96d6c1 | |||
| 850bd4013a | |||
| ecd676093a | |||
| 5120413ab8 | |||
| d16e439f02 | |||
| be4a9e2667 | |||
| 81aef1a830 | |||
| 532da0facc | |||
| 270d11e1b0 | |||
| 8acb8ad169 | |||
| dc2a982687 | |||
| 172bc3d9b8 | |||
| 0e8536aca0 | |||
| b7d14ec688 | |||
| d01d763960 | |||
| dd18c89783 | |||
| 982a149b93 | |||
| 9fb30754d7 | |||
| e9562f2901 | |||
| 46af81fd4a | |||
| 7a6d2f241e | |||
| f4292a1ba6 | |||
| a4e0c7d631 |
+29
-18
@@ -1,39 +1,50 @@
|
|||||||
name: Development build
|
name: Build rule sets
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches:
|
schedule:
|
||||||
- master
|
- cron: '0 * * * *'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
linux-build:
|
generate-rule-sets:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
- name: Install sing-box
|
- name: Setup java
|
||||||
run: curl -fsSL https://sing-box.app/install.sh | sh
|
uses: actions/setup-java@v5
|
||||||
- name: Compile domains.srs
|
with:
|
||||||
run: sing-box rule-set compile --output domains.srs domains.json
|
java-version: '17'
|
||||||
- name: Compile subnets.srs
|
distribution: 'oracle'
|
||||||
run: sing-box rule-set compile --output subnets.srs subnets.json
|
java-package: 'jdk'
|
||||||
|
architecture: 'x64'
|
||||||
|
- name: Update subnets
|
||||||
|
run: |
|
||||||
|
java -jar ip-ranges.jar
|
||||||
|
- name: Push subnets
|
||||||
|
uses: EndBug/add-and-commit@v9
|
||||||
|
with:
|
||||||
|
message: 'Update subnets'
|
||||||
- name: Set up variables
|
- name: Set up variables
|
||||||
id: vars
|
id: vars
|
||||||
run: |
|
run: |
|
||||||
echo "date_now=$(date +"%Y-%m-%d %T")" >> "${GITHUB_OUTPUT}"
|
echo "date_now=$(date +"%Y-%m-%d %T")" >> "${GITHUB_OUTPUT}"
|
||||||
|
- name: Install sing-box and build srs
|
||||||
|
run: |
|
||||||
|
curl -fsSL https://sing-box.app/install.sh | sh
|
||||||
|
sing-box rule-set compile --output domains.srs domains.json
|
||||||
|
sing-box rule-set compile --output subnets.srs subnets.json
|
||||||
|
ls -l
|
||||||
- name: Upload files to Releases
|
- name: Upload files to Releases
|
||||||
uses: ncipollo/release-action@v1
|
uses: softprops/action-gh-release@v3
|
||||||
with:
|
with:
|
||||||
makeLatest: true
|
make_latest: true
|
||||||
allowUpdates: true
|
files: ./*.srs
|
||||||
artifactErrorsFailBuild: true
|
|
||||||
artifacts: ./*.srs
|
|
||||||
body: |
|
body: |
|
||||||
- Last build date: `${{steps.vars.outputs.date_now}}`
|
- Last build date: `${{steps.vars.outputs.date_now}}`
|
||||||
- Reference commit: ${{github.sha}}
|
- Reference commit: ${{github.sha}}
|
||||||
name: Updatable rule sets
|
name: Updatable rule sets
|
||||||
removeArtifacts: true
|
tag_name: updatable-rule-sets
|
||||||
tag: updatable-rule-sets
|
|
||||||
|
|||||||
@@ -1,28 +0,0 @@
|
|||||||
name: Update subnets
|
|
||||||
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: '0 0 * * *'
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
linux-build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout sources
|
|
||||||
uses: actions/checkout@v6
|
|
||||||
- name: Setup Java
|
|
||||||
uses: actions/setup-java@v5
|
|
||||||
with:
|
|
||||||
java-version: '17'
|
|
||||||
distribution: 'oracle'
|
|
||||||
java-package: 'jdk'
|
|
||||||
architecture: 'x64'
|
|
||||||
- run: |
|
|
||||||
java -jar ip-ranges.jar
|
|
||||||
- name: Push subnets
|
|
||||||
uses: EndBug/add-and-commit@v9
|
|
||||||
with:
|
|
||||||
message: 'Update subnets'
|
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
```
|
||||||
|
https://github.com/egorovna-developments/rule-set/releases/latest/download/domains.srs
|
||||||
|
```
|
||||||
|
```
|
||||||
|
https://github.com/egorovna-developments/rule-set/releases/latest/download/domains.srs
|
||||||
|
```
|
||||||
+9
-8
@@ -3,17 +3,18 @@
|
|||||||
"rules": [
|
"rules": [
|
||||||
{
|
{
|
||||||
"domain": [
|
"domain": [
|
||||||
"fextralife.com",
|
"reyden-x.com",
|
||||||
"toil.cc"
|
"personal.reyden-x.com",
|
||||||
|
"senko.digital",
|
||||||
|
"fextralife.com"
|
||||||
],
|
],
|
||||||
"domain_suffix": [
|
"domain_suffix": [
|
||||||
".fextralife.com",
|
"reyden-x.com",
|
||||||
".toil.cc"
|
"personal.reyden-x.com",
|
||||||
|
"senko.digital",
|
||||||
|
"fextralife.com"
|
||||||
],
|
],
|
||||||
"domain_keyword": [
|
"domain_keyword": []
|
||||||
"fextralife",
|
|
||||||
"toil"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
+6148
-634
File diff suppressed because it is too large
Load Diff
+303
-57
File diff suppressed because it is too large
Load Diff
+7613
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user