mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-30 15:28:28 +00:00
Merge branch 'main' into b/chkupdate
This commit is contained in:
@@ -62,7 +62,7 @@ jobs:
|
||||
sudo dnf config-manager --add-repo https://github.com/terrapkg/subatomic-repos/raw/main/terra${{ matrix.version }}.repo
|
||||
sudo dnf install -y anda-mock-configs subatomic-cli anda mock rpm-build
|
||||
|
||||
- uses: andaman-common-pkgs/anda-build@main
|
||||
- uses: terrapkg/anda-build@main
|
||||
if: steps.check_files.outputs.EXISTS == 'true'
|
||||
with:
|
||||
name: "${{ matrix.pkg }}pkg"
|
||||
|
||||
@@ -18,7 +18,7 @@ jobs:
|
||||
- name: Install repositories
|
||||
run: |
|
||||
sudo dnf install -y dnf-plugins-core
|
||||
sudo dnf config-manager --add-repo https://github.com/andaman-common-pkgs/subatomic-repos/raw/main/terra37.repo
|
||||
sudo dnf config-manager --add-repo https://github.com/terrapkg/subatomic-repos/raw/main/terra37.repo
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo dnf install -y subatomic-cli
|
||||
|
||||
@@ -21,7 +21,13 @@ jobs:
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 2
|
||||
token: ${{ secrets.PAT }}
|
||||
ssh-key: ${{ secrets.SSH_AUTHENTICATION_KEY }}
|
||||
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.SSH_SIGNING_KEY }}
|
||||
known_hosts: unnecessary
|
||||
|
||||
- name: Run Update (Python)
|
||||
run: bash ./update.sh
|
||||
@@ -37,8 +43,10 @@ jobs:
|
||||
run: |
|
||||
git config --global --add safe.directory "*"
|
||||
if [[ `git status --porcelain` ]]; then
|
||||
git config user.name "Package Update Checker"
|
||||
git config user.email "<>"
|
||||
git commit -a -m "Automatic Update: $(git status | grep modified | sed -r 's@.+/([^/]+)/[^/]+\n?@\1 @g' | tr -d '\n')"
|
||||
git config user.name "Raboneko"
|
||||
git config user.email "raboneko@fyralabs.com"
|
||||
git config gpg.format "ssh"
|
||||
git config gpg.signingKey "${{ secrets.SSH_PUBLIC_SIGNING_KEY }}"
|
||||
git commit -S -a -m "Automatic Update: $(git status | grep modified | sed -r 's@.+/([^/]+)/[^/]+\n?@\1 @g' | tr -d '\n')"
|
||||
git push -u origin main
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user