Comments (7)
Some actions that may be useful, most stars first:
- https://github.com/marketplace/actions/add-commit
- https://github.com/marketplace/actions/git-auto-commit
- https://github.com/marketplace/actions/add-commit
- https://github.com/marketplace/actions/git-commit-and-push
- https://github.com/marketplace/actions/github-commit-push
from government.github.com.
@mlinksva What exactly would resolve this problem? Changing the entry itself would break the link, right?
from government.github.com.
I'm going to leave open PRs that are failing the alphabetization test (which also can fail due to extra spaces, like this one) as motivation to fix #991 but feel free to make pass manually and I'll merge when you do.
The tests seem to fail when new countries are added...
from government.github.com.
The tests sometimes fail when new countries are added because extra spaces are present, probably when adding a new line the via the web editor which indents to the previous level.
government.github.com/.github/workflows/ensure-alphabetize.yml
Lines 28 to 31 in 95b66b0
The above sorts and overwrites the file, as a side effect without any extra spaces. It fails if diff has any output, whether from extra spaces or need to sort.
The idea would be to commit the overwritten file if there is any diff, and push that commit, autocorrecting a file that differs from the canonical (including sorted) output rather than failing and requiring manual fixup.
from government.github.com.
Hopefully just like this example https://github.com/marketplace/actions/add-commit#automated-linting
from government.github.com.
Nearly working in #1011 (comment)
from government.github.com.
The tests pass now in #1043.
from government.github.com.
Related Issues (20)
- why the websites doesn't have any navbar HOT 2
- Test site build check always failing HOT 1
- FYI: Governments on GitHub dashboard in part based on data in this repo
- Set up locally instructions failing HOT 1
- Edit the Readme file
- Participate in Hacktoberfest HOT 1
- TODO: Configure caching for fast building on CI HOT 3
- Add licence to the _data directory HOT 1
- Is it dead? HOT 1
- Setup Dependabot in Repo HOT 1
- Ensure entries are alphabetized build failed HOT 2
- Government
- Invalid user causing pull request checks to fail HOT 2
- Revised protect timelines
- Map organizations to the accounts HOT 2
- Broken Link on government.github.com HOT 1
- Broken links HOT 6
- Update 60-days-stale-check.yml HOT 1
- Add additional UK Home Office organisations HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from government.github.com.