Add files from main branch to new-branch

This commit is contained in:
GitHub Actions
2024-12-02 09:57:49 +00:00
commit 72bf03c403
1436 changed files with 116600 additions and 0 deletions

3
.github/FUNDING.yml vendored Normal file
View File

@@ -0,0 +1,3 @@
# These are supported funding model platforms
github:
custom: https://sponsor.fanmingming.com

11
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View File

@@ -0,0 +1,11 @@
---
name: 问题反馈
about: 遇到缺失或模糊不清有错误的频道logo请通过这里提交反馈我们将尽快补齐或修复。
title: ''
labels: bug
assignees:
---
## 遇到的问题
请在此描述您遇到的问题。

11
.github/ISSUE_TEMPLATE/wish.md vendored Normal file
View File

@@ -0,0 +1,11 @@
---
name: 意见建议
about: 您希望我们怎么做好这个项目,或对项目有任何意见和建议请在此提交。
title: ''
labels: wish
assignees:
---
## 意见建议
请在此提出您的意见或建议。

22
.github/workflows/epg.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: EPG Update
on:
push:
schedule:
- cron: '15 16,18,20,22,0,2,4,6,8,10,12,14 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Update EPG Files
run: |
rm -f e.xml && wget https://epg.112114.xyz/pp.xml -O e.xml
git config --local user.name "github-actions[bot]"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git add e.xml
git commit -m "EPG Automatic Update."
- name: Push changes
run: git push origin main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

43
.github/workflows/n.yml vendored Normal file
View File

@@ -0,0 +1,43 @@
name: Create New Branch Without Commit History
on:
push:
branches:
- main
jobs:
create-branch:
runs-on: ubuntu-latest
steps:
# Check out the repository code
- name: Checkout repository
uses: actions/checkout@v3
# Configure git user
- name: Configure git user
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "actions@github.com"
# Create a new orphan branch
- name: Create orphan branch
run: |
git checkout --orphan new-branch # 创建没有历史记录的分支
git rm -rf . # 删除当前工作目录中的所有文件
# Checkout files from main branch and add them to the new branch
- name: Checkout files from main branch
run: |
git checkout main -- . # 从main分支获取文件
git add . # 添加所有文件到暂存区
# Commit the changes
- name: Commit changes
run: |
git commit -m "Add files from main branch to new-branch"
# Push the new branch to remote repository
- name: Push new branch
run: |
git push origin new-branch