Skip to content

Commit a1583e4

Browse files
authored
Merge pull request #1 from jgcodes2020/main
merge upstream
2 parents e273192 + bffd92a commit a1583e4

File tree

151 files changed

+1567
-652
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

151 files changed

+1567
-652
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- stable
1919
- beta
2020
- nightly
21-
- "1.80.0"
21+
- "1.83.0"
2222
conf:
2323
- { name: "cairo", features: "png,pdf,svg,ps,use_glib,v1_18,freetype,script,xcb,xlib,win32-surface", nightly: "--features 'png,pdf,svg,ps,use_glib,v1_18,freetype,script,xcb,xlib,win32-surface'", test_sys: true }
2424
- { name: "gdk-pixbuf", features: "v2_42", nightly: "--all-features", test_sys: true }
@@ -104,7 +104,7 @@ jobs:
104104
- stable
105105
- beta
106106
- nightly
107-
- "1.80.0"
107+
- "1.83.0"
108108
steps:
109109
- uses: actions/checkout@v4
110110
- uses: actions-rs/toolchain@v1

.github/workflows/auto-update.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: Auto updates
2+
3+
on:
4+
repository_dispatch:
5+
types: [internal-merge-event]
6+
workflow_dispatch:
7+
8+
jobs:
9+
regen:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout current repository
14+
uses: actions/checkout@v4
15+
with:
16+
submodules: true
17+
18+
- name: Set up Python
19+
uses: actions/setup-python@v5
20+
with:
21+
python-version: '3.x'
22+
23+
- name: Configure Git
24+
run: |
25+
git config user.name "github-actions[bot]"
26+
git config user.email "github-actions[bot]@users.noreply.github.com"
27+
git submodule update --checkout
28+
29+
- name: Update Git submodules
30+
run: |
31+
cd ./gir && git fetch --all && git reset --hard origin/main && cd ../
32+
git add .
33+
git diff --cached --exit-code || git commit -m "Update gir"
34+
python generator.py
35+
git add .
36+
git diff --cached --exit-code || git commit -m "Regenerate with latest gir"
37+
cd ./gir-files && git fetch --all && git reset --hard origin/main && cd ../
38+
git add .
39+
git diff --cached --exit-code || git commit -m "Update gir-files"
40+
python generator.py
41+
git add .
42+
git diff --cached --exit-code || git commit -m "Regenerate with latest gir-files"
43+
44+
- name: Push changes
45+
run: |
46+
git push origin "auto-pr-branch" || echo "Branch already exists"
47+
48+
- name: Create Pull Request
49+
uses: peter-evans/create-pull-request@v7
50+
with:
51+
token: ${{ secrets.GITHUB_TOKEN }}
52+
branch: "auto-pr-branch"
53+
title: "Automated PR: Changes from updating gir/gir-files"
54+
body: "This PR contains auto-generated changes after a merge in the external gir-files repository."
55+
commit-message: "Auto-generated changes from updating gir/gir-files"
56+
author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"

.typos.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ ot = "ot"
1515
siz = "siz"
1616
vai = "vai"
1717
guid = "guid"
18+
typ = "typ"

0 commit comments

Comments
 (0)