Author SHA1 Message Date
imri b29c1715a4 Update README.md
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
2023-09-01 16:28:29 +02:00
imri be7f4cbef0 Update task.md
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 48s
2023-09-01 16:24:29 +02:00
imri bb39888919 Update question.md
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
2023-08-18 17:55:11 +02:00
imri f1aac9a5a5 Update bug_report.md
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
2023-08-18 17:52:32 +02:00
imri 3b97693a13 Added .gitea/ testing files
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 33s
2023-08-18 17:48:04 +02:00
imri d23c97b5c4 Secrets test
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
2023-05-15 23:34:57 +02:00
imri c7c28cae70 Name change
Explore-Gitea-Actions
2023-03-24 16:37:43 +01:00
imri f778b72109 Proper directory
Explore-Gitea-Actions
2023-03-23 22:52:49 +01:00
imri 262c937dd3 Added The Gitea ACtion workflows 2023-03-23 22:51:14 +01:00
imri f409dda628 golang testing 2022-10-15 21:54:22 +02:00
imri e556c12c41 Added drone CI badges
continuous-integration/drone Build is passing
2022-10-15 21:51:55 +02:00
imri d4bf242536 Added drone file 2022-10-15 21:50:46 +02:00
imri 8f217f6630 Merge pull request 'Update 'README.md'' (#5) from imri-gitignore-explain-fix2 into main
Reviewed-on: #5
2022-09-28 20:19:52 +02:00
imri c7940b5c07 Update 'README.md' 2022-09-28 20:18:57 +02:00
10 changed files with 170 additions and 20 deletions
+14
View File
@@ -0,0 +1,14 @@
kind: pipeline
steps:
- name: test
image: golang
commands:
- go test
- go build
- name: publish
image: plugins/docker
settings:
repo: octocat/hello-world
tags: [ latest, 1.0, 1 ]
+1
View File
@@ -0,0 +1 @@
custom: https://www.patreon.com/EuroCMS
+35
View File
@@ -0,0 +1,35 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Version:**
- EuroCMS version: [e.g. XX.XX]
- OS/Distribution and version: [e.g. Ubuntu 22.04]
- PHP version: [e.g. PHP 8.2]
- Web server: [e.g. NGINX 2.20.11, Apache ....]
- Installation method: [e.g. native, containerized]
**Additional context**
Add any other context about the problem here.
+20
View File
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
+19
View File
@@ -0,0 +1,19 @@
---
name: Question
about: Ask a question
title: ''
labels: question
assignees: ''
---
**Question:**
A clear and concise statement of your question.
**Version:**
- EuroCMS version: [e.g. XX.XX]
- OS/Distribution and version: [e.g. Ubuntu 22.04]
- PHP version: [e.g. PHP 8.2]
- Web server: [e.g. NGINX 2.20.11, Apache ....]
- Installation method: [e.g. native, containerized]
+20
View File
@@ -0,0 +1,20 @@
# .gitea/workflows/build.yaml
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."
+50
View File
@@ -0,0 +1,50 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# ESLint is a tool for identifying and reporting on patterns
# found in ECMAScript/JavaScript code.
# More details at https://github.com/eslint/eslint
# and https://eslint.org
name: ESLint
on:
push:
branches: [ "gtk4" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "gtk4" ]
schedule:
- cron: '38 14 * * 6'
jobs:
eslint:
name: Run eslint scanning
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install ESLint
run: |
npm install eslint@8.36.0
npm install @microsoft/eslint-formatter-sarif@3.0.0
- name: Run ESLint
run: npx eslint .
--config src/.eslintrc.json
--ext .js,.jsx,.ts,.tsx
--format @microsoft/eslint-formatter-sarif
--output-file eslint-results.sarif
continue-on-error: true
- name: Upload analysis results to GitHub
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: eslint-results.sarif
wait-for-processing: true
+1
View File
@@ -0,0 +1 @@
herro?
+8 -20
View File
@@ -35,30 +35,18 @@ git push -u origin main
``` ```
# How do I make Git forget about a file that was tracked, but is now in .gitignore? # How do I make Git forget about a file that was tracked, but is now in .gitignore?
`.gitignore` will prevent untracked files from being added (without an `add -f`) to the set of files tracked by Git. However, Git will continue to track any files that are already being tracked.
The series of commands below will remove all of the items from the Git index (not from the working directory or local repository), and then will update the Git index, while respecting Git ignores. *PS. Index = Cache* To stop tracking a file, we must remove it from the index:
**First:** git rm --cached <file>
git rm -r --cached . To remove a folder and all files in the folder recursively:
git add .
**Then:**
git commit -am "Remove ignored files"
---
Or as a one-liner:
```git
git rm -r --cached . && git add . && git commit -am "Remove ignored files"
```
https://stackoverflow.com/a/19095988
# Further git info
git rm -r --cached <folder>
The removal of the file from the head revision will happen on the next commit.
**WARNING: While this will not remove the physical file from your local machine, it will remove the files from other developers' machines on their next `git pull`.**
https://stackoverflow.com/a/1274447/1148529
+2
View File
@@ -5,5 +5,7 @@
- #187 Task Test New - #187 Task Test New
- Gitea Action Runner test
Tasks Tasks